XML::GDOME::NodeList - Interface NodeList implementation.
$int = $nl->getLength(); $node = $nl->item($index);
Returns: the number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.
index: Index into the collection
index
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.
To install XML::GDOME, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::GDOME
CPAN shell
perl -MCPAN -e shell install XML::GDOME
For more information on module installation, please visit the detailed CPAN module installation guide.