The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

  XML::GDOME::XPath::Result - Interface XPathResult implementation.

SYNOPSIS

  $int  = $xpresult->getResultType();
  $bool = $xpresult->getBooleanValue();
  $num  = $xpresult->getNumberValue();
  $str  = $xpresult->getStringValue();
  $node = $xpresult->getSingleNodeValue();
  $node = $xpresult->iterateNext();

METHODS

$int = $xpresult->getResultType();

Returns: a code representing the type of this result, as defined by the type constants.

$bool = $xpresult->getBooleanValue();

Returns: the value of this boolean result.

$num = $xpresult->getNumberValue();

Returns: the value of this number result.

$str = $xpresult->getStringValue();

Returns: the value of this GdomeDOMString result.

$node = $xpresult->getSingleNodeValue();

Returns: The value of this single node result, which may be undef. This result is not guaranteed to be the first node in document order where the expression evaluates to multiple nodes.

$node = $xpresult->iterateNext();

Iterates and returns the next node from the node set or undef if there are no more nodes.

Returns: the next node.