Re: [xml] ignoring namespace while parsing a XML file
- From: Csaba Raduly <rcsaba gmail com>
- To: Dheeraj Gautam <dgautam juniper net>
- Cc: "xml gnome org" <xml gnome org>
- Subject: Re: [xml] ignoring namespace while parsing a XML file
- Date: Thu, 1 Sep 2011 09:36:24 +0200
On Thu, Sep 1, 2011 at 8:42 AM, Dheeraj Gautam wrote:
Is it valid to have multiple nodes, in a single XML file.
<configuration abc:changed-seconds="0" abc:changed-localtime="1970-01-01 00:00:00 UTC" >
<services>
</services>
</configuration>
<configuration junos:changed-seconds="0" junos:changed-localtime="1970-01-01 00:00:00 UTC">
<services>
</services>
</configuration>
No, it's not allowed.
"Each XML document has exactly one single root element." says
http://en.wikipedia.org/wiki/Root_element
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]