December 2003
Intermediate to advanced
506 pages
12h 26m
English
xsd:language — RFC 1766 language codes
<xsd:simpleType name="language” id="language">
<xsd:restriction base="xsd:token">
<xsd:pattern
value="([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]{1,8})(-[a-zA-Z]{1,8})*”
/>
</xsd:restriction>
</xsd:simpleType>
xsd:token
xsd:string
None
enumeration, length,
maxLength, minLength,
pattern
The lexical and value spaces of xsd:language are
the set of language codes defined by RFC 1766.
Although the schema for schema defines a 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.
Read now
Unlock full access