[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Mozilla and IE6 are different with disable-output-

Subject: RE: Mozilla and IE6 are different with disable-output-escaping="yes"
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Sat, 9 Aug 2003 12:13:59 +0200
disable output escaping mozilla
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Tig
> Sent: Saturday, August 09, 2003 11:56 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.