[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: preserve-space and strip-space?
This is a "feature" of MSXSL which is documented in the MSXML SDK (and the archives of this list). MSXSL reads its input from an MSXML DOM and the XML parser, by default, throws away white space nodes while building the DOM. If you are calling the parser from script you can stop this by setting the preserveWhiteSpace property. If you don't set this property the spaces are gone before XSLT starts up so there's nothing that strip-space can do to have any effect. If you view th einput to XSLT as being the original file, then this means that MSXSL is non conformant in its treatment of white space. If you view the input of XSLT as being the DOM then (arguably) MSXSL is conformant as in that case there are no white space nodes in its input. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|