Components of a document part.
There are at least three references to most document parts in a ZIP package, as shown here for the comments.xml part in a Word document ZIP package.
For every document part in an Open XML ZIP package, there is an Override PartName definition in the file [Content_Types].xml.
A relationship is defined for each document part in an applicable .rels file. The relationship shown here for comments.xml
is located in document.xml.rels
. Similarly, the relationship for the core.xml
file in the docProps
folder appears in the top-level .rels
file for the ZIP package; a relationship for the theme1.xml
file appears in the document-level .rels file, such as document.xml.rels
. Note that relationship definitions for some document parts may exist in more than one .rels file, as explained later in this lesson.
Content from the document part may be referenced in one or more additional document parts. For example, comment references in a Word ZIP package appear in document.xml
wherever the comment appears in the document text, as shown here. Similarly, references to custom style definitions in styles.xml
can exist in all document parts where those styles are applied, such as document.xml