xsl-list
[Top] [All Lists]

Retaining XML output

2004-04-07 04:35:30
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[(_at_)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.



<Prev in Thread] Current Thread [Next in Thread>