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

RE: MSXML Whitespace handling

Subject: RE: MSXML Whitespace handling
From: Andrew Kimball <akimball@xxxxxxxxxxxxx>
Date: Wed, 2 Aug 2000 12:39:04 -0700
preservewhitespace default
Jeni,

1. If we had a mode where the XSL processor was in direct control of the
load, then I would certainly "set" preserveWhiteSpace=true by default
(though in actuality, I'd probably be building the cache directly from
SAX-like events, rather than using the DOM builder).  Such a mode is
definitely under consideration for future versions because there are several
optimizations to be made if XSL builds the cache rather than DOM.

2. It is not possible at this point to change the DOM's preserveWhiteSpace
default, because it would break applications already in production.  We'll
just have to do a good job in showing users how to get the output they want
in this scenario via documentation.

3. As I mentioned in a reply to Mike Brown, it may be possible to change the
default of the IE5 mimeviewer, though that too is problematic for
backwards-compatibility reasons.

4. Stylesheet validation takes place during the XSLT compile phase, during a
DOM walk performed by the XSL processor.  Remember that the DOM cannot
validate the incoming stylesheet on load (or attempt to apply XSLT
whitespace rules), since at that point it does not know that the incoming
XML is a stylesheet.  In fact, it may not even be a valid stylesheet on load
-- the user might modify it after loading it into the DOM in order to make
it a valid stylesheet (for example, dynamically adding a named template that
is referenced elsewhere in the stylesheet).

~Andy Kimball
MSXSL Dev


 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.