[jdom-interest] Are Children under an Element returned in
the proper order
Ken Rune Helland
kenh at csc.no
Thu Mar 8 08:01:25 PST 2001
At 09:44 AM 3/8/2001 -0600, GB/DEV - Philip Nelson wrote:
> > When we invoke the method Element.getChildren() does the return list
> > maintain the order in which the children existed in the XML.
>In practice it may happen but there is no code to enforce this.
The SaxBuilder adds the content as it get sax events.
The content it stored in a List, java List imlementations
are to mantain order.
So the content will be in the same order as in the XML file.
More information about the jdom-interest