Jeff Lewis wrote:

> 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?

My guess is you are talking about elemets in general and not DOMElements
specifically...

In our application we had to sort all DOMAttributes in order to write them
back to file in the reqired order because we used the DOM to write a special
file format which should be rerecognized by peoble knowing this standard...
So it seems like a good idea to me to retain the order!

Thomas

--
___________________________________________________________________________

ProSTEP GmbH                        Phone: +49-6151-9287381
Thomas Conradi                      Fax:   +49-6151-9287381
Julius-Reiber Str. 15               Email: [EMAIL PROTECTED]
D-64293 Darmstadt
___________________________________________________________________________


Reply via email to