W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

Re: A few questions

From: Chris Hubick <maillist@chris.hubick.com>
Date: Wed, 20 May 1998 01:23:04 +0000 (GMT)
To: www-dom@w3.org
Message-ID: <Pine.LNX.3.96.980520012047.10942C-100000@chris.hubick.com>
On Wed, 20 May 1998, Arnaud Le Hors wrote:

> Chris Hubick wrote:
> > I think navigating the tree should be left to
> > the user.  Attributes and Children should be normal simple two way linked
> > lists, with the head of the list being the Node itself, and if you insert
> Because we are not defining a data model but only an API that anyone
> should be able to map onto his/her own (possibly existing) data model.
> This means, for instance, that the user just doesn't have a clue on how
> to actually set a node's parent, but the DOM implementation does, and
> will do it underneath when the user calls insertChildNode().

	Ok, sure, so why not model that API after a linked list?
insertChildNode() appends the node to the end of the child linked list?
At least then you would have a familiar/proven/simple set of semantics.

Chris Hubick
Received on Wednesday, 20 May 1998 04:25:59 UTC

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