T.J. Mather > XML-GDOME-0.86 > XML::GDOME::NodeList

Download:
XML-GDOME-0.86.tar.gz

Annotate this POD

CPAN RT

New  6
Open  0
View/Report Bugs
Source  

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.

syntax highlighting: