I have an xml in which i have stored some html under comments like this
<root>
<node>
<!--
<a href="mailto:[email protected]"> Mail me </a>
-->
</node>
</root>
now in my Transform Xslt code of mine i am giving XPathNavigator which is pointing to node and in xslt i am passing the comment value of as a parameter.
assuming $href to be <a href="mailto:[email protected]"> Mail me </a>
in xslt i am doing <xsl:value-of select="$href" disable-output-escaping="yes">
but $href is still escaped the result of xslt transformation comes up with < >
Does any one know whats wrong with it any help in this regard would be highly appericiated.
Thanks Regards Azeem