Subject: [xsl] changing only one attribute of element copy From: Garvin Riensche <g.riensche@xxxxxxx> Date: Wed, 04 Jul 2007 19:39:36 +0200 |
<xsl:template match="node() | @*" mode="transform"> <xsl:copy> <xsl:apply-templates select="node() | @*" mode="transform"/> </xsl:copy> </xsl:template> <xsl:template match="//class[@name=$TargetCName]" mode="transform"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:copy-of select="//class[@name=$SrcCName]/field"> <xsl:apply-templates mode="transform"/> </xsl:copy> </xsl:template>
Regards, Garvin
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Cross-browser exsl:node-set, , M. David Peterson | Thread | Re: [xsl] changing only one attribu, David Carlisle |
[xsl] accessing a node-set in varia, Sam Carleton | Date | [xsl] Removing an XML Attribute, McDonald, Shaun |
Month |