Re: [xsl] commenting Parent element only

Subject: Re: [xsl] commenting Parent element only
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 18 Sep 2010 17:58:56 +0100
<xsl:template match="row">
<xsl:comment>&lt;row&gt;</xsl:comment>
<xsl:apply-templates/>
<xsl:comment>&lt;/row&gt;</xsl:comment>
</xsl:template>

or <xsl:copy-of select="node()"/> in the middle if you are not using an identity template by default.

david

Current Thread