[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Retaining XML output


Subject: [xsl] Retaining XML output
From: "Yashdeep Patil" <yashdeep@xxxxxxxxxxx>
Date: Wed, 7 Apr 2004 17:05:30 +0530

Hi,
My XML looks like
<x>
     <y y1="somexml"><![CDATA[<queries><abc>123</abc></queries>]]></y>
</x>

and my xsl snippet is
    <xsl:value-of select="y[@y1='somexml']"/>

Now, when I run it through a transformation, I get an output without the
markup:
&lt;queries&gt;&lt;abc&gt;123&lt;/abc&gt;&lt;/queries&gt;

I would like to retain the markup in the output
(<queries><abc>123</abc></queries>).
Is there any way to achieve this using a xalan/xerces parser.
Thanks,
Yashdeep Patil.


Current Thread
Keywords