Alternative approach

svn path=/trunk/; revision=20355
This commit is contained in:
ato 2011-04-25 13:37:20 +00:00
parent 3809e18742
commit 0b22ff5583

View File

@ -840,11 +840,16 @@
tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="*">
<xsl:element name="{local-name(.)}">
<xsl:apply-templates />
</xsl:element>
</xsl:template>
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:element name="{local-name()}">
<xsl:apply-templates select="@*|node()"/>
</xsl:element>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>