DocumentTemplateFile Element

The DocumentTemplateFile element contains a reference to a file that is used within a document template.

Syntax

<DocumentTemplateFile
  Default = "TRUE" | "FALSE"
  Name="Text"
  TargetName="Text">
</DocumentTemplateFile>

Attributes

Name Description
Default Optional Boolean. TRUE to specify that the template file is the default file.
Name Required Text. The full path to the template file.
TargetName Required Text. The full path to the target.

Element Relationships

Parent Elements
DocumentTemplateFiles

Example

The following example specifies the files that are included in a Microsoft Office Excel 2003 template.

<DocumentTemplate DisplayName="Microsoft Office Excel spreadsheet"
  Type="103" Description="A blank Microsoft Office Excel document.">
  <DocumentTemplateFiles>
    <DocumentTemplateFile Name="doctemp\xl\xltmpl.xls"
      TargetName="Forms/template.xls" Default="TRUE" />
  </DocumentTemplateFiles>
</DocumentTemplate>