Subject: [xsl] Match nodes searching for attributes in children From: cvergara@xxxxxxxxxxxxxxxxxx Date: Mon, 18 Jan 2010 01:47:14 +0100 |
Hello, I want to match a node A that has a child B with an @attr = 1. I tried this, but it didn't work: <xsl:template match="//A[B/@attr = 1]"> also this didn't work: <xsl:template match="//A[B[@attr = 1]]"> Does anyone know how to do it? Thanks. Cristobal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Convert dollars, Karl Stubsjoen | Thread | Re: [xsl] Match nodes searching for, G. Ken Holman |
Re: [xsl] Convert dollars, Karl Stubsjoen | Date | [xsl] Creating elements in an arbit, cvergara |
Month |