Document Template
Source Relationship: |
http://schemas.openxmlformats.org/officeDocument/2006/relationships/attachedTemplate |
A document template can be represented by an instance of a WordprocessingML package, and contains styles, numbering definitions, and so on that are made available when documents based on that template are edited. A WordprocessingML document can refer to another document as its document template, by having a Document Settings part (§11.3.3) that contains an explicit relationship to the file location of the necessary document template using the @id
attribute on the <attachedTemplate>
element.
example:
<Relationships xmlns="…"> <Relationship Id="rId1" Type="http://…/attachedTemplate" Target="file:///c:\template.docx" TargetMode="External"/> </Relationships>
The document’s Document Settings part contains an <attachedTemplate>
element< >
that explicitly references this relationship:
<w:settings … > <w:attachedTemplate r:id="rId1"/> </w:settings>