xml:lang

(language) indicates the language of the element content using a tag generated according to BCP 47.

Attribute Information

Used By

Source

<xs:attribute name="lang">
  <xs:annotation>
    <xs:documentation>(language) indicates the language of the element content using a tag generated according to BCP 47.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:union memberTypes="xs:language">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value=""/>
        </xs:restriction>
      </xs:simpleType>
    </xs:union>
  </xs:simpleType>
</xs:attribute>

Sample