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

xsl output and d-o-e (was: How to deal with special ch

Subject: xsl output and d-o-e (was: How to deal with special characters in XSL?)
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Wed, 17 Oct 2001 19:30:16 +0200
xml special ch
Someone wrote about disable-output-escaping:

> Yes, but that's non-portable
This is a myth, and also not the real problem. Every contemporary
processor i've seen and capable of serializing the output honors
this attribute (within the rules set by the spec).

The real problem is, that the output might not be serialized but
further processed directly from an in-memory representation like
a DOM tree. Any output control is obviously lost, as that's not part
of the APIs we currently have. From what i've heard, programmers
using MSXML client-side already fall into this trap often enough.

Interestingly, the spec does not explicitely ban the processor from
applying d-o-e on text nodes before they leave the control of the
processor, serialized or not. IMHO, this is a point where a clearer
distinction between the transformation and the subsequent handing
over to further processing like a serialization would be an advantage.
In fact, i think the serialization stage should be taken out of the
XSLT standard and get a life of its own, like XPath.

> and rarely required.
This is true.

Suggestion: Program the listbot so that if a mail from a first time
poster contains d-o-e, it gets an auto-reply with a pointer to the
FAQ. It's probably also useful to require XSLT processors to ask
the XSLT programmer for sufficient credentials if they attempt to
use d-o-e. ;-)

Regards
J.Pietschmann

 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.