The tree API,
xmlTree, reads and parses an entire XML
document into a hierarchical tree when it is opened and keeps it in
memory. This provides a tree that is available for random access to
the entire XML document, allowing things like traversing in both
directions, and concurrent reading, modifying, and creating data.