<!-- Source: http://lists.xml.org/archives/xml-dev/201003/msg00090.html -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output method="xml" />
<xsl:template
match="*[namespace-uri()='http://www.example.com/v30']">
<xsl:element name="{name()}"
namespace="http://www.example.com/v31";>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:element>
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Comments
0 B
|👍
/👎
0 B
|👍
/👎