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?