module

XPath2::NodeNavigator

NodeNavigator provides cursor model for navigating the XML data. Documents planning to provide XPath support should implement this module

Instance methods

copy

does a deep copy of the NodeNavigator and all of its components

Source
local_name

gets the name of the current node

Source
move_to(nav : NodeNavigator) : Bool

moves the NodeNavigator to the same position as the specificed NodeNavigator

Source
move_to_child

moves the NodeNavigator to the first child node of the current node

Source
move_to_first

moves the NodeNavigator to the first sibling node of the current node.

Source
move_to_next

moves the NodeNavigator to the next sibling of the current node

Source
move_to_next_attribute

moves the NodeNavigator to the next attribute on current node

Source
move_to_parent

moves the NodeNavigator to the parent node of the current node

Source
move_to_previous

moves the NodeNavigator to the previous sibling of the current node

Source
move_to_root

moves the NodeNavigator to the root node of the current node

Source
node_type

returns the XPath::NodeType of the current node

Source
prefix

returns namespace prefix associated with the current node

Source
value

returns the value of the current node

Source