W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: Older Sibling?

From: Ray D. Whitmer <rayw@imall.com>
Date: Tue, 29 Feb 2000 11:46:12 -0700 (MST)
To: David Brownell <david-b@pacbell.net>
cc: Ray Whitmer <ray@xmission.com>, www-dom@w3.org
Message-ID: <Pine.GSO.4.05.10002291140570.5946-100000@sol.imall.com>
On Tue, 29 Feb 2000, David Brownell wrote:

>You don't need a strong notion of object identity in order to
>answer the ordering question.  Ordering is a specific problem
>domain notion that is only incidentally related to the general
>problem of identity.

And I spoke too quickly.  In the particular case given, where
the nodes are known to be children of the same parent, you can
just use getNextSibling to count the number of next siblings of
each node, and the node with more next siblings comes first.

Ray Whitmer
ray@imall.com
Received on Tuesday, 29 February 2000 13:46:37 GMT

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