WWW::Webrobot::UseXPath - Apply XPath expressions to an xml string


webrobot documentation  | view source Contained in the webrobot distribution.

Index


NAME

Top

WWW::Webrobot::UseXPath - Apply XPath expressions to an xml string

SYNOPSIS

Top

 use WWW::Webrobot::UseXPath;
 WWW::Webrobot::UseXPath -> new($xml) -> extract($xpath_expression);

DESCRIPTION

Top

Apply XPath expressions to an xml string.

METHODS

Top

WWW::Webrobot::UseXPath -> new ($xml)

Allocate an XPath object for the xml-string $xml

$self -> extract ($expr)

Apply an xpath expression $expr for this object. The result is of type string.


webrobot documentation  | view source Contained in the webrobot distribution.