Re: disable-output-escaping
Martin Honnen <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | Liberty Development |
| Message-ID | <[email protected]> |
Maria Amuchastegui wrote: > Does the Mozilla XSLT processor support disable-output-escaping? If not, > there a workaround? > > I have this in my XML data: > <ServiceHeader header="Services Étoiles<sup>MC</sup>:"> > > And this in my stylesheet: > <xsl:value-of select="@header" disable-output-escaping="yes"/> > > But Mozilla Firefox and Netscape 7.1 both display the HTML tags. I don't know whether the XSLT processor supports disable-output-escaping when used standalone (outside of Mozilla) but inside of Mozilla it doesn't serialize the result tree at all but directly renders it meaning the (optional) feature to serialize a result tree and disable-output-escaping is not supported. See also the FAQ: <http://www.mozilla.org/projects/xslt/faq.html> -- Martin Honnen http://JavaScript.FAQTs.com/