[Home] [By Thread] [By Date] [Recent Entries]
Jesper Tverskov wrote:
The short version is also nice because it works both in XSLT Here's the/a long version that works in both XSLT 1.0 and 2.0: <xsl:template match="child::*"> <xsl:copy> <xsl:apply-templates select="attribute::*|node()"/> </xsl:copy> </xsl:template> <xsl:template match="attribute::*|text()|comment()|processing-instruction()"> <xsl:copy/> </xsl:template>
|

Cart



