[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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
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:Hi Michael,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/
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Allowing whitespace to st, Matt Sims | Thread | Re: [xsl] Allowing whitespace to st, Matt Sims |
[xsl] XML to SVG using XSLT, Ian Blair | Date | Re: [xsl] XML to SVG using XSLT, David Carlisle |
Month |