Firstly I will say im a complete and total novice when it comes to XSLT and XML so this could be a very obvious mistake on my behalf.
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="node()">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="TestNode">
<RenamedNode>
<xsl:copy-of select="."/>
</RenamedNode>
</xsl:template>
</xsl:stylesheet>
When running the above, even though <TestNode> exists it does not match and rename the node and I cannot figure out why :/
Is anyone able to shed some light on why this is the case?
Thanks in advance