R
RolfK
Hello All,
I'm trying to output an XML node tree in COMMENT tags.
Processing is done with XSLT2.0.
The output schould be avild xml like this:
<root>
<e c="some element 1"/>
<e c="some element 2"/>
<!--
<e c="some element 2 in comment"/>
-->
<e c="some element 2"/>
</root>
So my questions is how to get the '<e>some element 2 in comment</e>'
in the comment tags
I tried this
<xsl:comment>
<xsl:copy-of select="...somenode...."/>
</xsl:comment>
But this does not create any printed xml as we know.
What is the solution ?
Rolf
I'm trying to output an XML node tree in COMMENT tags.
Processing is done with XSLT2.0.
The output schould be avild xml like this:
<root>
<e c="some element 1"/>
<e c="some element 2"/>
<!--
<e c="some element 2 in comment"/>
-->
<e c="some element 2"/>
</root>
So my questions is how to get the '<e>some element 2 in comment</e>'
in the comment tags
I tried this
<xsl:comment>
<xsl:copy-of select="...somenode...."/>
</xsl:comment>
But this does not create any printed xml as we know.
What is the solution ?
Rolf