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


From: John Cowan <cowan@locke.ccil.org>
Date: Mon, 02 Nov 1998 14:32:06 -0500
Message-ID: <363E08B6.2EB84756@locke.ccil.org>
To: DOM List <www-dom@w3.org>
Stephen R. Savitzky wrote:

> It's actually rather easy to implement TreeIterator using the various
> parent, child, and sibling attributes of Node.  It is also trivial to
> implement a NodeIterator for the children of a node.

In such a way as to be robust against arbitrary adds, deletes, and
moves in the tree?  Enlighten us, if you would.

John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)
Received on Monday, 2 November 1998 14:31:16 UTC

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