[jdom-interest] Integrity of XML order?
jhunter at collab.net
Wed Aug 23 14:10:52 PDT 2000
Mike Chambers wrote:
> 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));
> Am I guaranteed to get the data in the order that it is in the XML?
Yep. We currently preserve attribute order too, although unlike Element
order that's not required by XML.
More information about the jdom-interest