11.3.10 Main Document Part
Content Type(s):
application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml
Root Namespace:
http://purl.oclc.org/ooxml/wordprocessingml/main
Source Relationship:
http://purl.oclc.org/ooxml/officeDocument/relationships/officeDocument
An instance of this part type contains the body of the document.
A package shall contain a Main Document part (11.3.10) part. The Main Document part shall be the target of a relationship in the package-relationship item.
The root element for a part of this content type shall be document.
[Example: Given the following package-relationship item
excerpt:
<Relationships xmlns="…">
<Relationship Id="rId1"
Type="http://…/officeDocument" Target="word/document.xml"/>
</Relationships>
/word/document.xml" contains the following:
<w:document …>
<w:body>
…
</w:body>
</w:document>
end example]
A Main Document part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
A Main Document part is permitted to have implicit relationships to the following parts defined by ISO/IEC 29500:
- Additional Characteristics (15.2.1)
- Bibliography (15.2.3)
- Comments (11.3.2)
- Custom XML Data Storage (15.2.4)
- Document Settings (11.3.3)
- Endnotes (11.3.4)
- Font Table (11.3.5)
- Footnotes (11.3.7)
- Glossary Document (11.3.8)
- Numbering Definitions (11.3.11)
- Style Definitions (11.3.12)
- Theme (14.2.7)
- Thumbnail (15.2.16)
A Main Document part is permitted to contain explicit relationships to the following parts defined by ISO/IEC 29500:
- Alternative Format Import (11.3.1)
- Chart (14.2.1)
- Content Part (15.2.4)
- Diagrams: Diagram Colors(14.2.3), Diagram Data(14.2.4), Diagram Layout Definition(14.2.5) and
- Diagram Styles (14.2.6)
- Embedded Control Persistence (15.2.9)
- Embedded Object (15.2.10)
- Embedded Package (15.2.11)
- Footer (11.3.6)
- Header (11.3.9)
- Hyperlinks (15.3)
- Images (15.2.14)
- Printer Settings (15.2.15)
- Subdocument (11.6)
- Video (15.2.17)
A Main Document shall not have implicit or explicit relationships to any other part defined by ISO/IEC 29500.