Tree::XPathEngine::Step - implements a step in an XPath location path
These methods should probably not be called from outside of Tree::XPathEngine.
create the step
evaluate the step against a nodeset
evaluate the step against a single node
All these methods return the nodes along the chosen axis
apply the node test to the nodes gathered by the axis method
test on attribute existence
filter the results on a predicate
dump the step as a string
dump the step as xml
These constants are used in this package and in Tree::XPathEngine to describe the type of test in a step:
To install Tree::XPathEngine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tree::XPathEngine
CPAN shell
perl -MCPAN -e shell install Tree::XPathEngine
For more information on module installation, please visit the detailed CPAN module installation guide.