[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] problem with d-o-e in attribute


Subject: Re: [xsl] problem with d-o-e in attribute
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Apr 2004 13:57:34 -0400

At 2004-04-24 19:31 +0200, phdrix wrote:
In XSLT, there's no portable way to enforce that kind of output.

Do you mean that disable-output-escaping="yes" does not work for attribute values ?

I think it is clear in Section 16.4 of XSLT when it says "It is an error for output escaping to be disabled for a text node that is used for something other than a text node in the result tree. Thus, it is an error to disable output escaping for an xsl:value-of or xsl:text element that is used to generate the string-value of a comment, processing instruction or attribute node".


I don't think there is any room for doubt in that wording.

................... Ken

--
Public courses: Spring 2004 world tour of hands-on XSL instruction
Each week:   Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO

Hong Kong May 17-21; Bremen Germany May 24-28; Helsinki June 14-18

World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


Current Thread
Keywords