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

Re: Older Sibling?

From: John Cowan <jcowan@reutershealth.com>
Date: Mon, 28 Feb 2000 18:40:15 -0500
Message-ID: <38BB075F.A0316366@reutershealth.com>
To: David Brownell +ADw-david-b+AEA-pacbell.net+AD4, +ACI-www-dom+AEA-w3.org+ACI +ADw-www-dom+AEA-w3.org+AD4
David Brownell wrote:
> Perhaps.  If you got used to using it, the linked list implementation
> would accumulate some bizarre costs since it'd need to recompute that
> property pretty often ... but that'd be more reasonable than asking for
> a specific "is this child before that one" primitive, as you'd seemed
> to be suggesting!

Furthermore, if the element is part of an entity, then no single index
will work, as the element node may be in the tree in multiple places.


Schlingt dreifach einen Kreis vom dies! || John Cowan <jcowan@reutershealth.com>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)
Received on Monday, 28 February 2000 18:40:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC