Subject: Re: [xsl] preserve-space and strip-space? From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 17 Sep 2001 16:43:20 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] preserve-space and strip-, Kirk Allen Evans | Thread | Re: [xsl] preserve-space and strip-, Kirk Allen Evans |
[xsl] Auto refreshing with XSL, Shaun Lizzio | Date | RE: [xsl] Using an XSLT value as a , Wendell Piez |
Month |