[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
ST_MailMergeDest (Merged Document Destination Types)
This simple type specifies the possible results which may be generated when a mail merge is carried out on a given WordprocessingML source document. In other words, this element is used to specify what is to be done with the merged documents that result from populating the fields within a given merged WordprocessingML document with data from the specified external data source.
[Example: Consider a WordprocessingML source document containing the following WordprocessingML:
<w:mailMerge>
<w:destination w:val="newDocument" />
…
</w:mailMerge>
The destination element's val attribute is set to newDocument, specifying that when the mail merge is carried out, the source document shall be used to generate a specified number of new documents, which may be handled as appropriate. end example]
This simple type's contents are a restriction of the XML Schema string datatype.
The following are possible enumeration values for this type:
Enumeration Value |
Description |
email (Send Merged Documents as E-mail Messages) |
Specifies that conforming hosting applications shall generate emails using the documents that result from populating the fields within a given merged WordprocessingML document with data from the specified external data source. |
fax (Send Merged Documents as Faxes) |
Specifies that conforming hosting applications shall generate faxes using the documents that result from populating the fields within a given merged WordprocessingML document with data from the specified external data source. |
newDocument (Send Merged Documents to New Documents) |
Specifies that conforming hosting applications shall generate new documents by populating the fields within a given merged WordprocessingML document with data from the specified external data source. |
printer (Send Merged Documents to Printer) |
Specifies that conforming hosting applications shall print the documents that result from populating the fields within a given merged WordprocessingML document with external data from the specified external data source. |
Referenced By |
destination@val (§2.14.11) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_MailMergeDest">
<restriction base="xsd:string">
<enumeration value="newDocument"/>
<enumeration value="printer"/>
<enumeration value="email"/>
<enumeration value="fax"/>
</restriction>
</simpleType>