[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_Lang (Language Reference)

This simple type specifies that its contents will contain one of the following:

A hexadecimal language code (ST_LangCode)

An ISO 639-1 letter code plus a dash plus an ISO 3166-1 alpha-2 letter code (ST_String)

The contents of this language are interpreted based on the context of the parent XML element.

[Example: Consider a language code defined as follows :

<w:lang w:val=”en-CA” />

This language is therefore specified as English (en) and Canada (CA), resulting in use of the English (Canada) language setting. end example]

This simple type is defined as a union of the following types:

TheST_LangCode simple type2.18.52).

TheST_String simple type2.18.89).

Referenced By

activeWritingStyle@lang2.15.1.1); lang@bidi2.3.2.18); lang@eastAsia2.3.2.18); lang@val2.3.2.18); lid@val2.3.3.14); lid@val2.5.2.19); lid@val2.14.17); noLineBreaksAfter@lang2.15.1.58); noLineBreaksBefore@lang2.15.1.59); themeFontLang@bidi2.15.1.89); themeFontLang@eastAsia2.15.1.89); themeFontLang@val2.15.1.89)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_Lang">

   <union memberTypes="ST_LangCode ST_String"/>

</simpleType>