attribute "xml:lang"
Namespace:
Type:
embedded (union of (xs:language | restriction of xs:string))
Defined:
globally in xml.xsd
Used:
XML Representation Summary
<...
   
lang
 = 
(xs:language | "")
...>
Known Usage Locations
Annotation

lang (as an attribute name)

denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. This name is reserved by virtue of its definition in the XML specification.

Notes

Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility.

See BCP 47 at http://www.rfc-editor.org/rfc/bcp/bcp47.txt and the IANA language subtag registry at http://www.iana.org/assignments/language-subtag-registry for further information.

The union allows for the 'un-declaration' of xml:lang with the empty string.

Embedded Type Detail
Type Derivation Summary
union of (xs:language | restriction of xs:string)
  simpleType
Derivation:
by union
Member Types
  1. xs:language
  2. embedded simpleType:
    Derivation:
    restriction of xs:string
    Facets:
    enumeration:
    ""

XML Schema documentation generated with DocFlex/XML (Kit) v1.6.0
DocFlex/XML is a powerful template-driven documentation and report generator from any data stored in XML files. Based on an innovative technology developed by FILIGRIS WORKS, this new tool offers virtuoso data querying and formatting capabilities not found in anything else!
Need to convert your XML data into a clear nice-looking documentation or reports? Web-ready hypertext HTML or printable MS Word / OpenOffice.org friendly RTF? DocFlex/XML may be a cheap, quick and effective solution exactly for this task!
Have questions? Not sure how to use it? Just send us e-mail to contact@filigris.com and we are always happy to help you! See also our services at www.filigris.com