XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
seema rSubject: 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.

awaiting some help.
Seema.

Posttop
Minollo I.Subject: problem using copy of within
Author: Minollo I.
Date: 08 Apr 2006 11:02 PM
Try...

<xsl:text disable-output-escaping="yes">&lt;!--</xsl:text>
<xsl:copy-of select="."/> <!-- or whatever else you need to select -->
<xsl:text disable-output-escaping="yes">--&gt;</xsl:text>

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.