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 pathMETHODS¶
These methods should probably not be called from outside of Tree::XPathEngine.new¶
create the stepevaluate $nodeset¶
evaluate the step against a nodesetevaluate_node $node¶
evaluate the step against a single nodeaxis 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 methodtest_attribute¶
test on attribute existencefilter_by_predicate¶
filter the results on a predicateas_string¶
dump the step as a stringas_xml¶
dump the step as xmlTest 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
2006-02-15 | perl v5.20.1 |