<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 letter code (<ST_String>)

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

example:
<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. ]

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

  • TheST_LangCode simple type (§2.18.52).

  • TheST_String simple type (§2.18.89).

Referenced By

<activeWritingStyle@lang>2.15.1.1); <lang@bidi>2.3.2.18); <lang@eastAsia>2.3.2.18); <lang@val>2.3.2.18); <lid@val>2.3.3.14); <lid@val>2.5.2.19); <lid@val>2.14.17); <noLineBreaksAfter@lang>2.15.1.58); <noLineBreaksBefore@lang>2.15.1.59); <themeFontLang@bidi>2.15.1.89); <themeFontLang@eastAsia>2.15.1.89); <themeFontLang@val>2.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>