1. A method for displaying data in a document according to a transformation stylesheet, and enabling a modification to the document to automatically update the transformation stylesheet, comprising the steps of: (a) associating the data with the document; (b) determining a structure of the data; (c) applying a transformation stylesheet that corresponds to the determined structure, wherein the transformation stylesheet defines at least one of a structure and a format for displaying the data; (d) annotating the transformation stylesheet to create an annotated transformation stylesheet; (e) transforming the data according to the annotated transformation stylesheet to generate a data view for the document that is encoded to be compatible with a coding of the document and to include one or more annotations that respectively map one or more locations within the document to corresponding one or more locations in the transformation stylesheet; and (f) rendering the data view for the document to display the data.