1. A method of parsing a plurality of data elements arranged in a structured tree within a document, wherein said elements are arranged with a root element at a root level branching to remaining elements at lower levels within branches of the structured tree, and wherein said method comprises: receiving, by one or more processors, an external request to provide one or more elements from a structured tree, wherein the one or more elements being requested are from a group consisting of a next sibling element and a next child element in the structured tree; providing, by one or more processors, a next sibling element by fetching next and subsequent elements in the document until a specified sibling level in the structured tree is reached; returning, by one or more processors, the next sibling element to a requester; providing, by one or more processors, a next child element by fetching and returning a next element in response to the next element being a child element; and returning, by one or more processors, the next child element to the requester.