>I remember reading somewhere that DOM does not guarantee that the >order
in which the children of an element are returned is the same as >that in
which it is stored in the XML file.

You (or they) are probably confusing elements with attributes. The DOM DOES
preserve the order of elements. It does not necessarily preserve the order
of attributes of a given element, since XML says that their ordering is
officially Not Significant and leaving this unspecified allows more
efficient implementations.

For questions about what's dependable in the DOM, the best place to look is
the DOM spec (see http://www.w3.org/DOM/DOMTR). For answers about some of
the more common points of confusion, see the DOM FAQ document (
http://www.w3.org/DOM/faq.html)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to