1. A computer-implemented method for processing an embedded document, the method comprising: embedding a source document into a host document such that the source document is attached to the host document, becomes a part of a file representing the host document, and comprises a separately identifiable part of the host document; identifying a target document; and creating a link from the source document to the target document, the link being associated with the source document, the creation of the link specifying a plurality of nested target dictionaries defining document components to the target document, each of the plurality of nested target dictionaries including a plurality of keys and a plurality of key values specifying a relationship between the source document and the target document.