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

Re: Traverse and Node types

From: Martijn Pieters <mj@digicool.com>
Date: Sun, 25 Feb 2001 11:45:42 +0100
To: Eric Lawson <ericl@isogen.com>
Cc: www-dom@w3.org
Message-ID: <20010225114542.A30235@zopatista.com>
On Sat, Feb 24, 2001 at 09:35:57AM -0600, Eric Lawson wrote:
>     Currently, in the way the DOM, as well as TreeWalker and NodeIterator's
> are concerned, only nodes directly in the hierarchy of a DOM tree are to be
> returned. As you specified, there are three node types that do not live within
> the context of the DOM tree's hierarchical structure  (Attributes, Notations,
> and Entities).

<snip excellent explanation>

> Hope that helps.

Your explanation certainly helps. And when Attr, Notaion and Entity Nodes
are defined as falling outside of the DOM tree hierarchy, the TreeWalker
spec is much more unambiguous.

Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
Received on Sunday, 25 February 2001 05:45:51 UTC

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