Subject: [xsl] Re: preserve-space and strip-space? From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Mon, 17 Sep 2001 10:04:17 -0700 (PDT) |
> 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. This is not exactly so -- in case xml:space="preserve" is specified on an element, MSXML does not throw away white space nodes that are descendants of this element, even if the preserveWhiteSpace property is not set. Cheers, Dimitre Novatchev. __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Auto refreshing with XSL, Shaun Lizzio | Thread | [xsl] How does one go about extract, Liat Jacob |
Re: [xsl] preserve-space and strip-, Kirk Allen Evans | Date | RE: [xsl] Non-existing node, Casadome, Francisco |
Month |