T
Troot
Hi All,
I was wondering if someone could clear this up for me. I have
constructed a sample for a bigger problem I'm having. So, given the xml
file:
<?xml-stylesheet href="test.xsl" type="text/xsl"?>
<test>
<p><![CDATA[<b>This is bolded</b>]]></p>
</test>
and the stylesheet:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="main" match="/">
<all_screens>
<xsl:value-of disable-output-escaping="yes" select="/test/p" />
</all_screens>
</xsl:template>
</xsl:stylesheet>
can some one twll me why the output is <b>This is
bolded&llt;/b> instead of <b>This is bolded</b> (which is what I
thought disable-output-escaping is supposed to do)?
I've tried this with IE and Firefox and both make a mess of it.
Thanks
John
I was wondering if someone could clear this up for me. I have
constructed a sample for a bigger problem I'm having. So, given the xml
file:
<?xml-stylesheet href="test.xsl" type="text/xsl"?>
<test>
<p><![CDATA[<b>This is bolded</b>]]></p>
</test>
and the stylesheet:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="main" match="/">
<all_screens>
<xsl:value-of disable-output-escaping="yes" select="/test/p" />
</all_screens>
</xsl:template>
</xsl:stylesheet>
can some one twll me why the output is <b>This is
bolded&llt;/b> instead of <b>This is bolded</b> (which is what I
thought disable-output-escaping is supposed to do)?
I've tried this with IE and Firefox and both make a mess of it.
Thanks
John