1. A computer program product for pre-parsing a large XML document to enable faster processing, comprising: a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising computer readable program code configured to: provide an XML document that is not being parsed or executed; determine that a document size of the XML document exceeds a predetermined document size; pre-parse the XML document and monitor the document size to partition the XML document into a plurality of distinct portions, each portion within the predetermined document size; generate a plurality of indices with each index corresponding to one of the distinct portions of the XML document within the predetermined document size and comprising information that characterizes content of the distinct portion, and wherein the indices are used by an XML consumer to process the XML document; store the indices in the XML document; and store the XML document containing the indices in a storage area.