table of contents
Tree::XPathEngine::Step(3pm) | User Contributed Perl Documentation | Tree::XPathEngine::Step(3pm) |
NAME¶
Tree::XPathEngine::Step - implements a step in an XPath location path
METHODS¶
These methods should probably not be called from outside of Tree::XPathEngine.
new¶
create the step
evaluate $nodeset¶
evaluate the step against a nodeset
evaluate_node $node¶
evaluate the step against a single node
axis methods¶
All these methods return the nodes along the chosen axis
node_test¶
apply the node test to the nodes gathered by the axis method
test_attribute¶
test on attribute existence
filter_by_predicate¶
filter the results on a predicate
as_string¶
dump the step as a string
as_xml¶
dump the step as xml
Test type constants¶
These constants are used in this package and in Tree::XPathEngine to describe the type of test in a step:
2021-01-09 | perl v5.32.0 |