Re: IE and Mozilla XSLT CDATA diffs

Martin Honnen <[email protected]> Wed, 11 Apr 2007 15:50:19 +0200
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization Liberty Development
Message-ID <[email protected]>
Jim Harlow wrote:

> <xsl:stylesheet
>   version="2.0"

Note that both Firefox and IE (version 6 and later) supports XSLT 
version 1.0 but not 2.0 so usually you should use version="1.0" in the 
XSLT stylesheet as otherwise you force the XSLT processor in forwards 
compatible mode and that just complicates things.


>     <xsl:value-of select="report/desc" disable-output-escaping="yes"/>

disable-output-escaping is an optional feature, it is not supported by 
the XSLT processor Firefox/Mozilla has, mainly as there is no 
serialization happening as Mozilla directly transforms to a result DOM tree:
 
<http://developer.mozilla.org/en/docs/XSL_Transformations_in_Mozilla_FAQ#Can_I_do_disable-output-escaping.3F>



-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/