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

Subject: RE: [xsl] losing significant whitespace-only text nodes in mixed content
From: "Nick Fitzsimons" <nick@xxxxxxxxxxxxxx>
Date: Thu, 15 Sep 2005 19:02:55 +0100 (BST)
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/

Current Thread