[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
ST_MailMergeDataType (Mail Merge Data Source Type Values)
This simple type specifies the possible values for the types of external data sources to be connected to via the Dynamic Data Exchange (DDE) system (such as a spreadsheet or database), or the alternative method of data access if the Dynamic Data Exchange system is not used. This setting is purely a suggestion of the data source access mechanism which shall be used, and may be ignored in favor of an alternative mechanism if one is present.
[Example: Consider the following WordprocessingML fragment for a mail merge source or merged document:
<w:dataType w:val="odbc" />
The dataType element's val attribute is equal to odbc, specifying that the given merged WordprocessingML document has been connected to an external data source via the Open Database Connectivity interface. 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 |
database (Database Data Source) |
Specifies that a given merged WordprocessingML document has been connected to a database via the Dynamic Data Exchange (DDE) system. |
native (Office Data Source Object Data Source) |
Specifies that a given merged WordprocessingML document has been connected to an external data source via the Office Data Source Object (ODSO) interface. |
odbc (Open Database Connectivity Data Source) |
Specifies that a given merged WordprocessingML document has been connected to an external data source via the Open Database Connectivity interface. |
query (Query Data Source) |
Specifies that a given merged WordprocessingML document has been connected to an external data source using an external query tool. |
spreadsheet (Spreadsheet Data Source) |
Specifies that a given merged WordprocessingML document has been connected to a database via the Dynamic Data Exchange (DDE) system. |
textFile (Text File Data Source) |
Specifies that a given merged WordprocessingML document has been connected to a text file via the Dynamic Data Exchange (DDE) system. |
Referenced By |
dataType@val (§2.14.10) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_MailMergeDataType">
<restriction base="xsd:string">
<enumeration value="textFile"/>
<enumeration value="database"/>
<enumeration value="spreadsheet"/>
<enumeration value="query"/>
<enumeration value="odbc"/>
<enumeration value="native"/>
</restriction>
</simpleType>