Re: [xml] Two semantically identical files are being treated differently
- From: Jason Viers <lists beanalby net>
- To: xml gnome org
- Subject: Re: [xml] Two semantically identical files are being treated differently
- Date: Wed, 21 Feb 2007 16:17:22 -0500
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.
Jason
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]