|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Creating a CDATA tag in output XML
Thanks Jarno and Michael for your answers to my earlier problem on retaining
markup in the output XML. I have solved the problem with
disable-output-escaping. I know the structure should not have contained the
markup in CDATA, but the structure in generic in nature, and cannot be
changed for this instance.
I have another problem where I need to output a CDATA tag in a resultant XML
My input XML looks like:
<a><b>123</b></a>
and my XSL snippet looks like :
<xsl:element name="x">
<xsl:copy-of select="."/>
</xsl:element>
Now I would like my resultant XML output to look like:
<x >
<![CDATA[<a><b>123</b></a>]]>
</x>
Is this possible using XSL.
Thanks
Yashdeep Patil.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








