1. A computer system for storage and retrieval of data in extensible markup language (XML) documents, comprising: a memory; and a processor operatively coupled to the memory and configured to execute computer executable program modules, including: an import manager module configured to convert at least one file format to XML code defined by an XML schema; an indexer module configured to encode document data comprised in the XML code defined by the XML schema into a binary data structure, comprising: a scoping submodule configured to determine scope within the document data and the scope comprises at least one well-formed fragment of the XML code; and a storage submodule configured to store the binary data structure by the scope; a lexicon module configured to store at least one token and at least one token type and assigning at least one token identifier number, wherein said token includes data elements corresponding to XML syntax and said at least one token type reflects at least one component of XML syntax; a sequence module configured to store said at least one token identifier number in an original sequence; a determination module configured to determine whether said token is included in a lexicon; a token identifier number retrieval module configured to retrieve said token identifier number from said lexicon if said token is included in said lexicon, appending said token identifier number to said original sequence, and storing said token identifier number in the list for the XML data element; a lexicon storage module configured to store said token and said token type in the lexicon if said token is not included in said lexicon, assigning a unique token identifier to said token, appending said token identifier to the original sequence, and storing said token identifier in the list for the XML data element; a postings module configured to map said at least one token identifier number to a position of said token identifier number in said original sequence, wherein the postings module further inverts the position information from a list of tokens in an XML data element to map at least one selected token to all the XML data elements in which the selected token appears; a regenerator module configured to retrieve said at least one token for the scope in said original sequence, comprising: an insertion submodule configured to insert the at least one token into an output stream for each such well-formed fragment of the XML code; and a return submodule configured to return completed XML markup upon reading an end of the scope; a XML grammar state machine module configured to use token type information to compute the XML syntax for regenerating the XML code, comprising: a reading submodule configured to read the next token identifier number from the original sequence; a retrieval submodule configured to retrieve the token and token type for a token identifier number from the lexicon; and a token insertion submodule configured to insert said token into the output stream with the XML markup syntax appropriate for type.
2. The computer system according to claim 1 , wherein encoding document data comprised in the XML code into a binary data structure comprises streaming through said XML code and breaking data into pieces corresponding to XML syntax.