Patent ID: 7810028

Claim:
A method for editing electronic documents comprising: storing in a server a source code page of a first document, the source code page comprising a plurality of template portions associated with a plurality of content items; receiving a request from a user to perform an operation on a content item in the first document; obtaining in response to the request workflow information corresponding to the operation to be performed including a content item identifier and a workflow identifier for the content item from a first template portion within the source code page associated with the first document, wherein the obtaining comprises: searching the source code page for information related to a definition of the workflow identifier stored in a second template portion of the source code page, the information related to the definition including information related to the operation to be performed and information related to a location indentifying where the content item is to be placed within a second document, which is an updated version of the first document, after the operation is performed; performing the operation involving the content item based upon the obtained workflow information, wherein the source code page is updated to reflect the performed operation, wherein performing the operation comprises carrying out at least one of copying, moving, deleting, and replacing the content item; storing the second document with an updated source code page in the server; and presenting the second document to the user in response to the request.