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

RE: White space - preserving white space within elemen

Subject: RE: White space - preserving white space within element data using MSXML3
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Sat, 23 Dec 2000 00:28:18 -0000
xsl preserve whitespace
> With MSXML3, I don't seem to get the results I am expecting.  
> I don't get any
> results at all.  I'm expecting that the white space will be 
> preserved in the
> rendered document.  Instead the white-space is removed 
> (default behavior).  I
> have a Microsoft sample CD that was distributed at XML 2000 
> that documents
> <xsl:preserve-space> and <xsl:strip-space> with a limited a 
> example.  Has anyone
> successfully used <xsl:preserve-space> with MSXML3?

The normal way of supplying input to an MSXML3 transformation is as a DOM,
and the default way of constructing a DOM with MSXML3 causes whitespace to
be removed long before the XSLT transformation gets to see it. There's an
option to kep white space whil;e building the DOM.

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.