1XML::DOM::NodeList(3) User Contributed Perl DocumentationXML::DOM::NodeList(3)
2
3
4

NAME

6       XML::DOM::NodeList - A node list as used by XML::DOM
7

DESCRIPTION

9       The NodeList interface provides the abstraction of an ordered
10       collection of nodes, without defining or constraining how this
11       collection is implemented.
12
13       The items in the NodeList are accessible via an integral index,
14       starting from 0.
15
16       Although the DOM spec states that all NodeLists are "live" in that they
17       allways reflect changes to the DOM tree, the NodeList returned by
18       getElementsByTagName is not live in this implementation. See CAVEATS
19       for details.
20
21   METHODS
22       item (index)
23           Returns the indexth item in the collection. If index is greater
24           than or equal to the number of nodes in the list, this returns
25           undef.
26
27       getLength
28           The number of nodes in the list. The range of valid child node
29           indices is 0 to length-1 inclusive.
30
31   Additional methods not in the DOM Spec
32       dispose
33           Removes all circular references in this NodeList and its
34           descendants so the objects can be claimed for garbage collection.
35           The objects should not be used afterwards.
36
37
38
39perl v5.16.3                      2000-01-31             XML::DOM::NodeList(3)
Impressum