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

Re: CDATA back to its original shape

Subject: Re: CDATA back to its original shape
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Mon, 19 Feb 2001 12:17:15 +0000
xsl ignoring cdata
Hi Scott,

>> I should add that disable-output-escaping might not be supported by
>> your processor (e.g. if you're using Xalan, I believe) so this may not
>> be an option anyway.
>
> disable-output-escaping is indeed supported by Xalan. The only place
> it is not supported is inside xsl:attribute, because the SAX
> interface makes it hard to implement (I'm still trying to figure out
> a technical solution to this, such as special escape characters
> inside the attribute string).

I'm sorry for the misrepresentation - I don't know where I picked that
up from. But I'm confused - no processor should allow disabled output
escaping within xsl:attribute (or xsl:processing-instruction or
xsl:comment):

Section 16.4 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...an XSLT processor may signal the error; if it does not
   signal the error, it must recover by ignoring the
   disable-output-escaping attribute."

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/



 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.