7. The method of claim 1 , further comprising generating a document key uniquely identifying the document among a plurality of documents, the referencing address further comprising the document key.
1. A method comprising: analyzing contents of a document to identify a plurality of document elements that collectively constitute the contents of the document, and storing, for each of the identified document elements, a database entry having a unique respective document-element identifier; creating a plurality of anchors dispersed throughout the document by storing, for each of a plurality of anchor locations, a respective database entry comprising a unique anchor identifier; storing a document view that represents the document as an ordered list of the document-element identifiers of the identified document elements, and listing at least some of the anchor identifiers in the document view interspersed with or nested within the document-element identifiers; and in response to selection of a portion of the document, generating a referencing address uniquely identifying the selected portion, the referencing address comprising one or more anchor identifiers of one or more respective anchors associated with the selected portion.