Have you tried using normalizeDocument() with validation enabled (assuming you
have a DTD and/or Schema). It is supposed to consolidate adjacent text nodes
into a single node
http://www.w3.org/TR/2003/CR-DOM-Level-3-Core-20031107/core.html#Document3-normalizeDocument
http://www.ibm.com/developerworks/xml/library/x-keydom2.html
Jake
On Tue, 9 Dec 2008 09:00:46 -0800 (PST)
Rob Davis-5 <[EMAIL PROTECTED]> wrote:
Rob Davis-5 wrote:
This works. Thank you Michael!
Actually it partially works - it doesn't ignore whitespace outside of
elements - which is what I require. I have started a new thread.
http://www.nabble.com/Filtering-whitespace-outside-of-xml-elements-using-LSParserFilter-td20918689.html
--
View this message in context:
http://www.nabble.com/How-to-compare-Documents--Existing-library-method-available--or-use-DOMTreeWalker--tp20856968p20918814.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]