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
Sourcelocal_name
gets the name of the current node
Sourcemove_to(nav :
NodeNavigator) :
Bool moves the NodeNavigator to the same position as the specificed NodeNavigator
Sourcemove_to_child
moves the NodeNavigator to the first child node of the current node
Sourcemove_to_first
moves the NodeNavigator to the first sibling node of the current node.
Sourcemove_to_next
moves the NodeNavigator to the next sibling of the current node
Sourcemove_to_next_attribute
moves the NodeNavigator to the next attribute on current node
Sourcemove_to_parent
moves the NodeNavigator to the parent node of the current node
Sourcemove_to_previous
moves the NodeNavigator to the previous sibling of the current node
Sourcemove_to_root
moves the NodeNavigator to the root node of the current node
Sourcenode_type
returns the XPath::NodeType of the current node
Sourceprefix
returns namespace prefix associated with the current node
Sourcevalue
returns the value of the current node
Source