T.J. Mather

NAME

  XML::GDOME::NodeList - Interface NodeList implementation.

SYNOPSIS

  $int  = $nl->getLength();
  $node = $nl->item($index);

METHODS

$int = $nl->getLength();

Returns: the number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.

$node = $nl->item($index);

index: Index into the collection

Returns: the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns undef.