[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
type (Merge Field Mapping)
This element specifies if a given mail merge field has been mapped to a column in the given external data source or not.
If this element is omitted, then the field mapping shall be considered to be of type null (i.e. not mapped).
[Example: Consider the WordprocessingML for a single field mapping within a mail merge source document:
<w:odso>
…
<w:fieldMapData>
<w:type w:val="dbColumn" />
<w:name w:val="Country" />
<w:mappedName w:val="Country or Region" />
<w:column w:val="9" />
…
</w:fieldMapData>
</w:odso>
In this example, the country column within the given external data source shall be mapped to the mail merge field Country or Region, as specified by the type element's val attribute being equal to dbColumn. end example
Parent Elements |
fieldMapData (§2.14.15) |
Attributes |
Description |
val (Merge Field Mapping Type) |
Specifies if the given mail merge field has been mapped to a column in the given external data source (i.e. if the merge field mapping is valid or not).
[Example: Consider the following WordprocessingML fragment for a mail merge source or merged document:
<w:type w:val="null" />
In this example, the given mail merge field shall not be mapped to a column in the given external data source, as specified by the type element's val attribute being equal to null. end example]
The possible values for this attribute are defined by the ST_MailMergeOdsoFMDFieldType simple type (§2.18.62). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_MailMergeOdsoFMDFieldType">
<attribute name="val" type="ST_MailMergeOdsoFMDFieldType" use="required"/>
</complexType>