[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: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 2 Aug 2000 09:52:53 +0100
msxml xmldocument whitespace
> 
> Andrew Kimball wrote:
> > > the XSLT spec makes it sound like I
> > > can expect whitespace characters in my physical document...
> > 
> > Where does the spec say "physical document"?  The spec uses 
> the term "input tree"
> 
> I covered this in another post. I am not saying XSLT is not about
> tree-to-tree transformation. 
> 
> It and the XPath spec do mention in several places that it's 
> not just any tree they're talking about, it's a tree derived from an XML 
> document. 

Just to muddy the waters further, the conformance rules say that an XSLT
processor must be able to use a stylesheet to transform a source tree to a
result tree. 

The word stylesheet is never defined (and it's sometimes used to mean a
single XML document - what I call a "stylesheet module" in my book - and
sometimes a collection of XML documents linked through xsl:include and
xsl:import) but the closest is in 2.2: "A stylesheet is represented by an
xsl:stylesheet element in an XML document". So the source and result are
trees, but the stylesheet is one or more XML documents. This is why I drew
the diagram on page 49 of my book the way I did.

Since this discussion is about whitespace in the _stylesheet_, not the
source document, I think this distinction is relevant.

Mike Kay


 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.