1. A method of parsing a document, the method comprising: constructing a parser instance that is configured to: stream parse a plurality of XML documents as an XML stream, wherein each of the plurality of XML documents include one or more nodes, wherein each node within the plurality of XML documents is parsed as it is encountered in the XML stream; during the stream parsing, detect XML match statements within the plurality of XML documents of the XML stream that match a match point, wherein the match point identifies a location or address within the plurality of XML documents that a desired node of data may be found; in response to detecting at least one XML match statement in the XML stream that matches the match point, construct a document object model (DOM) instance, wherein the DOM instance includes: the at least one XML match statement in the XML stream that matches the match point; and a XML content within a node that corresponds to the at least one XML match statement; in response to detecting one or more statements in the XML stream that do not match the match point, discard the one or more statements in the XML stream that do not match the match point, wherein the one or more statements in the XML stream that do not match the match point are discarded and garbage collected as they are read; inputting the XML stream to the parser instance; passing the match point to the parser instance; and receiving, from the parser instance, the DOM instance.