Subject: Re: [xsl] Understanding Identity Transformations From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Sat, 12 Feb 2005 20:34:14 +0100 |
In the below sample, i'm interested in the "BLUE" categories. I still want to bring back the original XML source but omit everything not "BLUE". See the FOO cat="GREEN", it contains a cat="BLUE"... of course I would not expect to return this element since the parent element cat is "GREEN".
<xsl:template match="@* | node()"> <xsl:copy> <xsl:apply-templates select="@* | node()"/> </xsl:copy> </xsl:template>
regards, -- Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041) Gaudiam omnibus traderat W3C, nec vana fides
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Understanding Identity Tr, Karl Stubsjoen | Thread | Re: [xsl] Understanding Identity Tr, Karl Stubsjoen |
Re: [xsl] Understanding Identity Tr, Karl Stubsjoen | Date | Re: [xsl] Understanding Identity Tr, Karl Stubsjoen |
Month |