xsl-list
[Top] [All Lists]

RE: losing significant whitespace-only text nodes in mixed content

2005-09-15 11:02:55
Francis,

If you're stuck with MSXML, there's a useful explanation of its default
whitespace behaviour spread over several pages starting at:
[http://msdn.microsoft.com/library/en-us/xmlsdk/html/e8b00d48-e9f5-4a25-a650-71c284bb3f3a.asp]

Basically, you need to set the preserveWhiteSpace property of your XML
DomDocument object to true. There's an explanation of that at:
[http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/824383e0-8409-4e13-bc93-fb0191343402.asp]

HTH,

Nick.
-- 
Nick Fitzsimons
http://www.nickfitz.co.uk/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--