xsl-list
[Top] [All Lists]

Re: [xsl] commenting Parent element only

2010-09-18 11:59:06
<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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>