Showing:

Attributes
Diagrams
Source
Used by
Attribute Group xlink:titleAttrs
Namespace http://www.w3.org/1999/xlink
Diagram
Diagram xlink_xsd_Attribute_xlink_type.tmp#type xml_xsd_Attribute_xml_lang.tmp#lang
Used by
Complex Type xlink:titleEltType
Attributes
QName Type Fixed Use Annotation
xlink:type xlink:typeType title required
xml:lang union of(xs:language, restriction of xs:string) optional

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.

Source
<xs:attributeGroup name="titleAttrs">
  <xs:attribute ref="xlink:type" fixed="title" use="required"/>
  <xs:attribute ref="xml:lang">
    <xs:annotation>
      <xs:documentation>xml:lang is not required, but provides much of the motivation for title elements in addition to attributes, and so is provided here for convenience.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:attributeGroup>
Schema location xlink.xsd Copy and paste this link to your file browser, clicking the link MAY open in the browser. Opening in an XML aware editor is best.

This document has been approved for Public Release by the Office of the Director of National Intelligence. See Distribution Notice for details. Click Here