DocumentID: ECMA-376/Part1/11.7 Title: ECMA-376, Part1: 11.7 Mail Merge Data Source Extracted-From: ECMA-376 Office Open XML File Formats, 1st Edition / December 2006 Warning: Coverted to HTML format by a script known to have bugs
|
Source Relationship: |
http://schemas.openxmlformats.org/officeDocument/2006/relationships/mailMergeSource |
|---|
A document that stores information about a mail merge operation is permitted to contain a Document Settings part (§11.3.3) whose relationship item targets the file location of the necessary data source using this relationship.
[Example: Consider a document specifying a mail merge whose data source is located at http://www.openxmlformats.org/data.txt:
<Relationships xmlns="...">
<Relationship Id="rId1"
Type="http://.../mailMergeSource"
Target="http://www.openxmlformats.org/data.txt"
TargetMode="External"/>
</Relationships>
The document's Document Settings part contains a dataSource element that explicitly references this relationship:
<w:settings ...>
<w:mailMerge>
...
<w:dataSource r:id="rId1" />
...
</w:mailMerge>
</w:settings>
end example]
A mail merge data source shall be located external to the package containing the source relationship (expressed syntactically, the TargetMode attribute of the Relationship element shall be External).