Subject:problem using copy of within Author:seema r Date:08 Apr 2006 06:19 AM
doing xml to xml conversion, I have some nodes which I dont need now, but do not want to lose the data in those tags. I tried copying them as comment in resulting xml.
I tried copy-of it works fine, but when its inside <xsl:comment> the copy does not occur properly. How do I overcome this. I need the same result, as it is when copy of is used, but must be commented.
Subject:problem using copy of within Author:Minollo I. Date:08 Apr 2006 11:02 PM
Try...
<xsl:text disable-output-escaping="yes"><!--</xsl:text>
<xsl:copy-of select="."/> <!-- or whatever else you need to select -->
<xsl:text disable-output-escaping="yes">--></xsl:text>