1. A computer implemented method for processing a hierarchically structured document, comprising the steps of: creating a first dictionary having a first set of information including key-value pairs; creating a first reference to the first dictionary, said first reference to the first dictionary being associated with a structure portion of a predetermined hierarchical level of the document; creating, for said predetermined hierarchical level of the document when a content portion of said predetermined hierarchical level is processed, a second reference to the first dictionary; processing a structure portion of a subsequent hierarchical level, wherein said subsequent hierarchical level is lower in the hierarchical structure of the document than the predetermined hierarchical level; determining if processing of content for said predetermined hierarchical level is in process; copying the second reference to a third reference associated with structure of the subsequent hierarchical level, when said processing of content for said predetermined hierarchical level is determined to be in process; copying the first reference to the third reference associated with the structure of the subsequent hierarchical level, when said processing of content for said predetermined hierarchical level is determined not to be in process; creating, for said subsequent hierarchical level of the document when a content portion of said subsequent hierarchical level is processed, a second dictionary referenced by a fourth reference; processing said content portion of said subsequent hierarchical level using said second dictionary; and continuing processing of said content portion of said predetermined hierarchical level after processing of said content portion of said subsequent hierarchical level is complete, using said second reference to said first dictionary, when said processing of content for said predetermined hierarchical level is determined to be in process.
1. A computer implemented method for processing a hierarchically structured document, comprising the steps of: creating a first dictionary having a first set of information including key-value pairs; creating a first reference to the first dictionary, said first reference to the first dictionary being associated with a structure portion of a predetermined hierarchical level of the document; creating, for said predetermined hierarchical level of the document when a content portion of said predetermined hierarchical level is processed, a second reference to the first dictionary; processing a structure portion of a subsequent hierarchical level, wherein said subsequent hierarchical level is lower in the hierarchical structure of the document than the predetermined hierarchical level; determining if processing of content for said predetermined hierarchical level is in process; copying the second reference to a third reference associated with structure of the subsequent hierarchical level, when said processing of content for said predetermined hierarchical level is determined to be in process; copying the first reference to the third reference associated with the structure of the subsequent hierarchical level, when said processing of content for said predetermined hierarchical level is determined not to be in process; creating, for said subsequent hierarchical level of the document when a content portion of said subsequent hierarchical level is processed, a second dictionary referenced by a fourth reference; processing said content portion of said subsequent hierarchical level using said second dictionary; and continuing processing of said content portion of said predetermined hierarchical level after processing of said content portion of said subsequent hierarchical level is complete, using said second reference to said first dictionary, when said processing of content for said predetermined hierarchical level is determined to be in process. 3. A method according to claim 1, wherein: said step of creating, for said subsequent hierarchical level of the document when a content portion of said subsequent hierarchical level is processed, a second dictionary referenced by a fourth reference is performed a first time there is a writing of key-value pairs to the second dictionary.