|
|
XML::GDOME::XPath::Evaluator - Interface XPathEvaluator implementation.
$xpeval = XML::GDOME::XPathEvaluator::mkref(); $xpnsresolv = $xpeval->createNSResolver($nodeResolver); $xpresult = $xpeval->createResult(); $xpresult = $xpeval->evaluate($expression,$contextNode,$resolver,$type,$result);
Returns: the reference to the XPathEvaluator structure.
Returns: GdomeXPathNSResolver object.
expression
: The XPath expression string to be parsed and evaluated.
contextNode
: Context node for the evaluation of this XPath expression.
resolver
: The resolver permits translation of prefixes within the XPath expression into appropriate namespace URIs.
type
: If specified, result will be coerced to return the specified type.
result
: Specifies a GdomeXPathResult object to be re-used.
Returns: a result of the specified type if possible.