1. A computer-implemented method of enabling parallel processing of an XML document without pre-parsing, wherein the XML document has associated metadata, comprising: in response to a request for processing an XML document, determining a number N that is the number of XML consumers available to process the XML document; analyzing metadata associated with the XML document to generate N partitions of the XML document without parsing; and processing the partitions in parallel, wherein each XML consumer processes one of the partitions.