Glossary Document Part

Content Type:

application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml

Root Namespace:

http://schemas.openxmlformats.org/wordprocessingml/2006/main

Source Relationship:

http://schemas.openxmlformats.org/officeDocument/2006/relationships/glossaryDocument

An instance of this part type is a supplementary document storage location which stores the definition and content for content that shall be carried with the document for future insertion and/or use, but which shall not be visible within the contents of the main document story.
example: : A legal contract template might include one or more optional clauses that shall not appear in the document until those clauses are inserted explicitly via a user action. To store these optional clauses until they are inserted, their contents are placed in the glossary document part.
Note:

The root element for a part of this content type shall be <glossaryDocument>.

<w:glossaryDocument xmlns:w="…" >
  <w:docParts>
    <w:docPart>
      <w:docPartPr>
        <w:name w:val="rainbow colors"/>
        <w:style w:val="Normal"/>
        <w:category>
          <w:name w:val="Misc"/>
          <w:gallery w:val="docParts"/>
        </w:category>
      </w:docPartPr>
      <w:docPartBody>
        <w:p>
          <w:r>
            <w:t>The colors of the rainbow are red, orange, yellow,
              green, blue, indigo, and violet.</w:t>
          </w:r>
        </w:p>
      </w:docPartBody>
    </w:docPart>
    <w:docPart></w:docPart> 
  </w:docParts>
</w:glossaryDocument>

A package shall contain at most one Glossary Document part, and that part shall be the target of an implicit relationship from the Main Document (§11.3.10) part.

example:
<Relationships xmlns="…">
  <Relationship Id="rId4" 
    Type="http://…/glossaryDocument" Target="glossary/document.xml"/>
</Relationships>

A Glossary Document part shall be located within the package containing the source relationship (expressed syntactically, the @TargetMode attribute of the <Relationship> element shall be Internal).

A Glossary Document part is permitted to have implicit relationships to the following parts defined by this Standard:

A Glossary Document part is permitted to have explicit relationships to the following parts defined by this Standard:

A Glossary Document part shall not have implicit or explicit relationships to any other part defined by this Standard.