<headerSource>
(Header Definition File Path)
<fieldMapData>
element (§If this element is omitted, then the column header definition data is not specified in an external file and shall be retrieved from the primary data source associated with the mail merge.
<w:settings> … <w:headerSource r:id="rId2" /> … </w:settings>
This mail merge's <headerSource>
element specifies via its @r:id
attribute value of rId2
that the external data source to be used for the column header information for the given WordprocessingML document is the data source targeted by the relationship whose @Id
attribute is equal to rId2
. If we examine the corresponding relationship part item for the setting part, as follows:
<Relationships> <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeSource" Target="file:///c:/headerData.txt" TargetMode="External" /> </Relationships>
Since the relationship whose @Id
attribute value is rId2
specifies the column header data file path for the data source effectively specifies a file path of c:\headerData.txt
. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
Namespace: .../officeDocument/2006/relationships |
Specifies the relationship ID to a specified part. The specified relationship shall match the type required by the parent element:
<… r:id="rId10" /> The markup specifies the associated relationship part with relationship ID The possible values for this attribute are defined by the ST_RelationshipId simple type (§7.8.2.1). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Rel">
<attribute ref="r:id" use="required"/>
</complexType>