[jdom-interest] Integrity of XML order?

Mike Chambers mesh at speakeasy.org
Wed Aug 23 15:38:43 PDT 2000

If I have the following XML:

           <Label name="label_1">
           <Label name="label_2">

And access it with Jdom :

     SAXBuilder builder = new SAXBuilder(true);
     Document doc = builder.build(new File(args[0]));

Am I guaranteed to get the data in the order that it is in the XML? (i.e.
I'll get label_1 before label_2)?

Thanks in advance (I hope)...

Mike Chambers

mesh at speakeasy.org

More information about the jdom-interest mailing list