Re: [xml] Two semantically identical files are being treated differently

David Grohmann wrote:
These 2 files have an element "PruningSection" which contain en element "Channels" that contains some text. These 2 files are extremely similar and I dont think they should be creating a node Tree any different than each other.

Yes, they should. Whitespace between XML elements is significant, even though it's handy to ignore 'indenting' whitespace. If you want to ignore it, pass XML_PARSE_NOBLANKS when creating the doc.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]