Re: [xsl] Allowing whitespace to stop merge of adjacent nodes

Subject: Re: [xsl] Allowing whitespace to stop merge of adjacent nodes
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Tue, 10 Oct 2006 13:01:42 +0100
Set the DomDocument's preserveWhitespace property to false before loading the document.
Not sure why you're using msxml in .NET, it has a number of problems on that platform. You'd be better switching to .NET's native XML classes.


Joe


From: Matt Sims <matt.sims@xxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Allowing whitespace to stop merge of adjacent nodes
Date: Tue, 10 Oct 2006 12:23:12 +0100


Michael Kay wrote:
Perhaps you're using the Microsoft MSXML parser, which notoriously removes
whitespace text nodes without first asking you for permission. You can
switch this behaviour off, unless you're running in the browser.

Michael Kay
http://www.saxonica.com/

Hi Michael,

Yes, I'm using the Microsoft parser within the .NET framework.

Any idea of how it's switched off in this case?

Regards,

Matt.

Current Thread