xs:language

The lexical and value spaces of xs:language are the set of language codes defined by the RFC 1766.
Although the schema for schema defines a minimal test to perform expressed as patterns (see the Definition), the lexical space is the set of existing language codes.

Some valid values for this datatype are: "en", "en-US", "fr", or "fr-FR".

The formal definition for this datatype is at http://www.w3.org/TR/xmlschema11-2/#language

Package: 
Primitives
1