mainDocumentType element [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

mainDocumentType element [Word 2003 XML Reference]

Specifies a mail-merge main document type. The main document is the document that contains information that is the same for each version of the merged document -- for example, the return address in a form letter.

Usage

<mainDocumentType
    val="mailMergeDocTypeValue"
/>

Element Information

Element type mailMergeDocTypeProperty
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name XML Document 2003

Elements and Attributes

Parent Elements

Element Description
mailMerge Contains the elements that hold mail-merge information for this document.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
val mailMergeDocTypeValue required Gets or sets the value of a document type for a mail-merge operation.
  • catalog
  • envelopes
  • mailing-labels
  • form-letters
  • email
  • fax

Definition

<xsd:element name="mainDocumentType" type="mailMergeDocTypeProperty" minOccurs="1" >
</xsd:element>

©2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp