Next / Previous / Contents / TCC Help System / NM Tech homepage

15. Standard attributes

This section describes some attributes that are used in many different places.

15.1. The xml:lang attribute

This attribute defines the language used in an element.

In general, codes can have one of two forms:

  • xml:lang="LL", where LL is a language code. These codes are defined by ISO 639.

  • xml:lang="LL-CC" where LL is a language code and CC is a country code. Country codes are defined by ISO 3166-1993 .

For example, use xml:lang='en' for English; use xml:lang='en-us' for United States English.