I don't know for sure if the spec requires it explicitly. But certainly it
would be of little use if it did not do so, and I can't imagine any DOM not
maintaining order.
----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]
Jeff Lewis <[EMAIL PROTECTED]> on 03/08/2000 12:55:40 PM
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: Order of elements in the DOM
We are having an internal discussion about whether or not to trust the
ordering of elements within the DOM once an XML document has been parsed.
I am arguing that the DOM should retain the order of elements from the XML
file, but I have yet to find any requirement, W3C or otherwise, that it do
so...
Any comments?