1. A method for generating a document, comprising: (a) accessing a referencing document; (b) invoking a fragment object referenced by the referencing document, the fragment object including a first set of data corresponding to a document fragment of a source document and a second set of data corresponding to a transformation of the document fragment of the source document; (c) transforming the document fragment of the source document based on the second set of data; (d) incorporating the transformed data into the referencing document to generate a document; (e) changing the incorporated transformed data of the referencing document; and (f) modifying the fragment object referenced by the referencing document to include a third set of data, the third set of data corresponding to the change in the incorporated transformed data of the referencing document.