[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Allowing whitespace to stop merge of adjacent node

Subject: Re: Allowing whitespace to stop merge of adjacent nodes
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Tue, 10 Oct 2006 13:01:42 +0100
Re:  Allowing whitespace to stop merge of adjacent node
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.