I am using the copy-of element in xsl to print some xml to client, but the xslt outputs the unescapes the escaped xml characters to the output e.g.
if the xml being transformed is
<one attr="http://one.com/page?param1=value1&param2=value2">
<child>text</child>
</one>
and if i use the copy-of to output this node <xsl:copy-of select"."></>
the output converts the "&" in attribute attr to just "&" which causes xml parse error on client.
how can i preserve the escaped xml characters when outputting the xml
Thanks in advance.
Best Regards,
Keshav