1. A computer implemented method of handling document operation requests and storing results of document operations requests in a volatile or non-volatile computer readable medium, the method comprising: receiving a document operation request, the document operation requiring one or more collection elements within the document to be in a computer-readable memory, wherein the one or more collection elements are designated to be part of the collection with a markup language; identifying at least one of the one or more collection elements for processing; determining whether the at least one of the one or more collection elements is in the computer-readable memory by using a processor; identifying a collection partition which comorises the at least one of the one or more collection elements, wherein the collection partition comprises a subset of the one or more collection elements in the document; loading the collection partition into the computer-readable memory based on a result from the act of determining, wherein the at least one of the one or more collection elements is loaded into the computer-readable memory when the at least one of the one or more collection elements is not in the computer-readable memory, and another collection partition and a data which is used to manage respective collection elements of the another collection partition are removed from the computer-readable memory after a change in one or more of the respective collection elements of the another collection partition is persisted in a second computer-readable memory where there is insufficient space for loading the collection partition; and executing the document operation with the collection partition and displaying a result of the act of executing the document operation on a display apparatus or storing the result in a storage device or a tangible computer-readable memory.