xsl-list
[Top] [All Lists]

RE: Mozilla and IE6 are different with disable-output-escaping="yes"

2003-08-09 03:13:59
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
Tig
Sent: Saturday, August 09, 2003 11:56 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Mozilla and IE6 are different with
disable-output-escaping="yes"


Hi, I have a simple XML and XSL page, but I'm having problems dealing
with user-entered HTML tags. The ASP part of the site generates the XML
when data is updated. The user data can contain basic HTML, so this data
is escaped when the XML is made (<br /> becomes &lt;br /&gt; for
example).

My understanding of XSL is not great however I did believe that
disable-output-escaping="yes" would render the escaped HTML back as
HTML. IE6 deals with this as I assumed and the results are great,
however Mozilla (and Firebird) both seem to ignore the
disable-output-escaping="yes" option.

Yes. That's an FAQ.

Some links to the problem
XML: http://planetquake.com/lvl/xml/maps/ci.xml
XSL: http://planetquake.com/lvl/xml/maps/lvlmap.xsl
The real site is: http://planetquake.com/lvl/

Does anyone have a solution or suggestion?

Do not use d-o-e if you need a portable solution. In this case, do not
escape the HTML on the server (instead, ensure that it is wellformed XHTML,
and just use it as-is).

Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>