You can determine the handle for a node by browsing through a
document (start at the document root and explore all child nodes),
or you can get specific nodes by executing an X-Path query.
Browsing the XML Document Describes how to iterate through all nodes in a document starting at the "virtual" document root node.
Executing X-Path Queries Describes how to execute X-Path queries on a document or on nodes of a document