[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

lid (Merge Field Name Language ID)

This element specifies the language ID for the language which was used to generate the merge field name which was associated with a given column in the data source, as specified by the fieldMapData element (§2.14.15). This element specifies that when this field mapping is processed by an application, it shall interpret the merge field name as the name for the specified language.

If this element is omitted, then the mapped field names specified in the current document may be interpreted using any method desired by the consuming application (i.e. no language data is included with the field mapping information).

[Example: Consider the following WordprocessingML fragment for a field mapping for a document to be merged to an external data source. If the merge field name stored in the file corresponds with the U.S. English version of the merge field names, that information would be stored as follows:

<w:fieldMapData>
<w:name w:val="Title" />
<w:column w:val="3" />
<w:mappedName w:val="Courtesy Title" />
<w:lid w:val="en-US" />
</w:fieldMapData>

The lid element specifies that the mapping of the data contained in the fourth column of external data source named Title to the WordprocessingML of 'Courtesy Title', shall be associated with the U.S. English language as specified by the val attribute equal to en-US. end example]

Parent Elements

fieldMapData2.14.15)

 

Attributes

Description

val (Language Code)

Specifies an ISO 639-1 letter code or 4 digit hexadecimal code for a specific language.

 

This code is interpreted in the context of the parent XML element.

 

[Example: Consider an object which shall specify the English(Canada) language. That object would use the ISO 639-1 letter code of en-CA to specify this language. end example]

 

The possible values for this attribute are defined by the ST_Lang simple type2.18.51).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Lang">

   <attribute name="val" type="ST_Lang" use="required"/>

</complexType>