<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.

<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>; <lang@bidi>; <lang@eastAsia>; <lang@val>; <lid@val>; <lid@val>; <lid@val>2.14.17); <noLineBreaksAfter@lang>; <noLineBreaksBefore@lang>; <themeFontLang@bidi>; <themeFontLang@eastAsia>; <themeFontLang@val>

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

<simpleType name="ST_Lang">
	<union memberTypes="ST_LangCode ST_String"/>