DOKK / manpages / debian 11 / libtree-xpathengine-perl / Tree::XPathEngine::Step.3pm.en
Tree::XPathEngine::Step(3pm) User Contributed Perl Documentation Tree::XPathEngine::Step(3pm)

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:

2021-01-09 perl v5.32.0