1. A method of parsing a document, the method comprising: constructing a parser instance, the parsing instance configured to stream parse an XML stream and to construct a DOM instance comprising XML content matching a match point; passing a match point to the parser instance; and receiving the DOM instance comprising XML content under a statement matching the match point.