1. A system for parsing an XML document, comprising: a raw streaming parser API for providing non-validating access to an XML document; a non-validating streaming parser API for reading information for the XML document and using that information to provide access to an XML document; a validating streaming parser API for reading information for the XML document and using that information to validate and provide access to the XML document; and means for selecting one of said raw streaming parser API, said non-validating streaming parser API, and said validating streaming parser API in order to provide access to, and parse, an XML document.