1Tree::XPathEngine::StepU(s3e)r Contributed Perl DocumentaTtrieoen::XPathEngine::Step(3)
2
3
4

NAME

6       Tree::XPathEngine::Step - implements a step in an XPath location path
7

METHODS

9       These methods should probably not be called from outside of
10       Tree::XPathEngine.
11
12   new
13       create the step
14
15   evaluate $nodeset
16       evaluate the step against a nodeset
17
18   evaluate_node $node
19       evaluate the step against a single node
20
21   axis methods
22       All these methods return the nodes along the chosen axis
23
24       axis_ancestor =item axis_ancestor_or_self =item axis_attribute =item
25       axis_child =item axis_descendant =item axis_descendant_or_self =item
26       axis_following =item axis_following_sibling =item axis_parent =item
27       axis_preceding =item axis_preceding_sibling =item axis_self
28
29   node_test
30       apply the node test to the nodes gathered by the axis method
31
32   test_attribute
33       test on attribute existence
34
35   filter_by_predicate
36       filter the results on a predicate
37
38   as_string
39       dump the step as a string
40
41   as_xml
42       dump the step as xml
43

Test type constants

45       These constants are used in this package and in Tree::XPathEngine to
46       describe the type of test in a step:
47
48       test_name =item test_any =item test_attr_name =item test_attr_any =item
49       test_nt_text =item test_nt_node
50
51
52
53perl v5.34.0                      2021-07-27        Tree::XPathEngine::Step(3)
Impressum