Tree::XPathEngine::Step(3pm)

Tree::XPathEngine::Step3pm

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

axis_ancestor =item axis_ancestor_or_self =item axis_attribute =item axis_child =item axis_descendant =item axis_descendant_or_self =item axis_following =item axis_following_sibling =item axis_parent =item axis_preceding =item axis_preceding_sibling =item axis_self

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:

test_name =item test_any =item test_attr_name =item test_attr_any =item test_nt_text =item test_nt_node

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11
  3. 12–13

From libtree-xpathengine-perl 0.05-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.