OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Ordering of child nodes after parsing

[ Lists Home | Date Index | Thread Index ]
  • From: Gareth Harper <Gareth.Harper@sportal.net>
  • To: "'xml-dev@lists.xml.org'" <xml-dev@lists.xml.org>
  • Date: Tue, 19 Dec 2000 13:00:22 +0000

Title: Ordering of child nodes after parsing

If, for example I have the following piece of xml

<parent>
        <child attribute="blah1"/>
        <child attribute="blah2"/>
        <child attribute="blah3"/>
</parent>

is it written (in the XML spec) anywhere that the parser must return those child nodes in the order that they have been given.  I know it sounds right that it should, but I need to know if this is in the spec (this is for a boolean evaluation system I'm writing in XML / PERL and I need to know if for safety's sake I should put some ordering information in my children (variables), or if this is built into this spec)

Thanks for any info.

--

Gareth Harper
Engineering

Gareth.Harper@sportal.net

SPORTAL LIMITED
40 parkgate road, london
SW11 4JH, united kingdom
f:      +44 (0) 20  7350 4701
m:      +44 (0) 7989 418742
http://www.sportal.com

CONFIDENTIALITY NOTICE
This e-mail is intended only for the above named addressee/s. The contents of the e-mail and any attached files are confidential and may be legally privileged. If you have received this e-mail in error please notify the sender immediately and then delete the e-mail, any attachments and any returned copy, without copying, forwarding, disclosing or otherwise using it in any way. Any content that does not relate to the official business of Sportal Limited or its associated companies shall be understood as neither given nor endorsed by it.





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS