Re: Older Sibling?

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 UTC