ho trovato anch'io
<xsl:copy-of select="." />
ma faccio una cosa del genere:
codice:
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/TR/REC-html40">
<xsl:output media-type="screen" method="html" encoding="utf-8" omit-xml-declaration="yes" />
<xsl:template match="/root">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="span">
<xsl:copy-of select="." />
</xsl:template>
<xsl:template match="div">
<xsl:copy-of select="." />
</xsl:template>
<xsl:template match="hd2"><h1><xsl:value-of select="."/></h1></xsl:template>
<xsl:template match="hd3"><h3><xsl:value-of select="."/></h3></xsl:template>
</xsl:stylesheet>
adesso JS funziona di nuovo, ma gli ultimi due match no..