December 2001
Intermediate to advanced
380 pages
11h 54m
English
NodeList
The NodeList
interface is a generic list containing the child nodes of the node,
regardless of their specific subtype. In other words, Text nodes are in the list alongside
Element and ProcessingInstruction nodes. This
interface is not defined in terms of the Node interface.
lengthThis read-only attribute indicates the number of nodes
in the list. If the length is 10, then the actual indexes are
0 through 9.
item(
index )This method returns the node with the corresponding
index in the NodeList. If
the index is out of range, None is returned.
Read now
Unlock full access