Altova Mailing List Archives


RE: [xsl] disable-output-escaping in xsl:attribute

From: "Michael Kay" <mike@------------>
To:
Date: 10/22/2004 4:45:00 PM
>  <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/

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.