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

RE: disable-output-escaping in xsl:attribute

Subject: RE: disable-output-escaping in xsl:attribute
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 22 Oct 2004 15:44:45 +0100
xsl attribute disable output escaping
>  <xsl:text disable-output-escaping="yes">G&auml;ste</xsl:text>

disable-output-escaping only affects the way that special characters such as
ampersand and "<" are output. This string does not contain any such
characters (it contains the five characters G, a-umlaut [*], s, t, e) and
none of these would be escaped anyway.

(* I'm guessing about &auml; - you haven't actually shown us the entity
definition)

But it's true - disable-output-escaping isn't allowed for attribute nodes.
At one stage the XSLT 2.0 draft allowed it, but then we decided it didn't
make sense to deprecate the feature and extend its reach at the same time.

You shouldn't need d-o-e just to handle non-ASCII characters. What are you
actually trying to achieve?

Michael Kay
http://www.saxonica.com/

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.