[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

attachedTemplate (Attached Document Template)

This element specifies the location of a document template which shall be attached to the current WordprocessingML document if it is accessible and of a format supported by an application. Specifically, this element's val attribute shall contain the file path of the associated document template.

If this element is omitted, then the document shall not have an attached document template, and applications should use their default template in its place.

[Example: Consider a WordprocessingML document which is attached to a WordprocessingML template located on the local C drive within a file whose name is c:\template.dotx. This association is specified using the following WordprocessingML:

  <w:attachedTemplate w:val="c:\template.dotx" />

The attachedTemplate element contains the path to the associated template. end example]

Parent Elements

settings2.15.1.78)

 

Attributes

Description

id (Relationship to Part)

 

Namespace: .../officeDocument/2006/relationships

Specifies the relationship ID to a specified part.

 

The specified relationship shall match the type required by the parent element:

http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer for the footerReference element

http://schemas.openxmlformats.org/officeDocument/2006/relationships/header for the headerReference element

http://schemas.openxmlformats.org/officeDocument/2006/relationships/font for the embedBold, embedBoldItalic, embedItalic, or embedRegular elements

http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings for the printerSettings element

 

[Example: Consider an XML element which has the following id attribute:

 

<… r:id="rId10" />

 

The markup specifies the associated relationship part with relationship ID rId1 contains the corresponding relationship information for the parent XML element. end example]

 

The possible values for this attribute are defined by the ST_RelationshipId simple type7.8.2.1).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Rel">

   <attribute ref="r:id" use="required"/>

</complexType>