NodeList interface - Provides the abstraction of an ordered
collection of nodes.
Python extensions: can use sequence-style len , getitem , and
for..in constructs.
Methods
|
|
__getitem__
__init__
getLength
item
|
|
__getitem__
|
__getitem__ ( self, index )
|
|
__init__
|
__init__ ( self, list=None )
|
|
getLength
|
getLength ( self )
The length of the NodeList
|
|
item
|
item ( self, index )
Returns the index-th item in the collection
|
|