module XPath2::NodeNavigator
Overview
NodeNavigator provides cursor model for navigating the XML data. Documents planning to provide XPath support should implement this module
Defined in:
xpath2.crInstance Method Summary
-
#copy : NodeNavigator
does a deep copy of the NodeNavigator and all of its components
-
#local_name : String
gets the name of the current node
-
#move_to(nav : NodeNavigator) : Bool
moves the NodeNavigator to the same position as the specificed NodeNavigator
-
#move_to_child : Bool
moves the NodeNavigator to the first child node of the current node
-
#move_to_first : Bool
moves the NodeNavigator to the first sibling node of the current node.
-
#move_to_next : Bool
moves the NodeNavigator to the next sibling of the current node
-
#move_to_next_attribute : Bool
moves the NodeNavigator to the next attribute on current node
-
#move_to_parent
moves the NodeNavigator to the parent node of the current node
-
#move_to_previous : Bool
moves the NodeNavigator to the previous sibling of the current node
-
#move_to_root
moves the NodeNavigator to the root node of the current node
-
#node_type : NodeType
returns the XPath::NodeType of the current node
-
#prefix : String
returns namespace prefix associated with the current node
-
#value : String
returns the value of the current node
Instance Method Detail
moves the NodeNavigator to the first child node of the current node
moves the NodeNavigator to the first sibling node of the current node.
moves the NodeNavigator to the next attribute on current node
moves the NodeNavigator to the previous sibling of the current node