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

Re: Node.childNodes

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Tue, 20 Feb 2001 09:28:19 -0500
Cc: www-dom@w3.org
Message-ID: <OFC05510AF.FEC10444-ON852569F9.004F3A59@pok.ibm.com>

>What kind of Nodes have to be present in Node.childNodes beyond to
>GDOME_ELEMENT_NODE?

GDOME_ELEMENT_NODE is not defined by the DOM. It sounds like you're asking
about a specific usage of the DOM, and we can't advise you on that.

In general, Node.childNodes is not required to contain anything. For
example, consider a Text node, which will never have any children.

The kinds of nodes which are permitted as children of each node type are
listed in a table in the DOM Core specification.



______________________________________
Joe Kesselman  / IBM Research
Received on Tuesday, 20 February 2001 09:28:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT