[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Copy one namespace, replace another
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 7 Aug 2006 14:27:59 +0100
first you need an identity template (see the faq or the example in the
xslt spec) but it looks like

<xsl:template match="node()">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>

then add templates for your extar elements, and you are done.

David

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member