11. The method of claim 7 , wherein the program code of the object, when executed, accesses the data or the attribute or the data and the attribute of the at least one element of the XML-compliant document by locking accessing to the at least one element in the memory and performing write transactions including atomic write operations to ensure the memory is in a valid state following an access.
7. A method for binding program code in a memory to portions of an XML-compliant document having a plurality of elements being arranged in a nested relationship to construct an object for accessing at least one element of the XML-compliant document, the XML-compliant document being stored in the memory, the method comprising: (a) receiving a request to access at least one element of the XML-compliant document stored in the memory, each element representing a part of the XML-compliant document and each element having data or an attribute or data and an attribute associated therewith, the at least one element being of the plurality of elements of the XML-compliant document arranged in a hierarchy representative of the nested relationship of the elements; (b) accessing a schema document referenced by the XML-compliant document in the memory, the schema document containing a registry which maps a tag identifying an element of the plurality of elements to a program identifier; (c) using the program identifier to construct an object containing program code identified by the program identifier, the program code of the object, when executed, providing access to the data or the attribute or the data and the attribute of the at least one element; (d) returning, to a source of the request, a pointer to the object constructed using the program identifier; (e) regulating access to the at least one element of the XML-compliant document using locks adjusted by the program code of the object; wherein the act (c) of using the program identifier to construct the object comprises: (f) making an Application Programming Interface (API) call to an object manager requesting that the object manager use the program identifier to locate the program code and construct the object incorporating the located program code; and (g) receiving, in response to the API call, the pointer to the object.