W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1999

Re: question about DOM level 1 ordering of children

From: Lauren Wood <lauren@sqwest.bc.ca>
Date: Tue, 9 Nov 1999 13:22:16 -0800
Message-Id: <199911092124.NAA19615@mail.sqwest.bc.ca>
To: www-dom@w3.org
On 9 Nov 99, at 12:36, Chris Harris wrote:

> Apologies if this is an FAQ - I've searched the archive and can't find
> anything directly relevant, and the spec also.
> 
> I'm wondering about guarantees of ordering of child elements. I'm involved
> in an XML application for which the ordering of elements is currently
> assumed to be important. I'd like to verify that the ordering of elements
> is guaranteed to be preserved in the DOM.

It is. The ordering of attributes is not preserved, but the ordering of 
elements is preserved.

Obviously we need to add this to the DOM spec somewhere.

thanks,

Lauren
Received on Tuesday, 9 November 1999 16:26:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT