attributeGroup i18n
namespace http://www.w3.org/1999/xhtml
used by
elements head html map meta style title
attributeGroup attrs
attributes
Name  Type  Use  Default  Fixed  annotation
langLanguageCode      
lang      
documentation
<div>
<h3>lang (as an attribute name)</h3>
<p>
       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.</p>
</div>
<div>
<h4>Notes</h4>
<p>
      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. 
     </p>
<p>
      See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
       http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
      and the IANA language subtag registry at
      <a href="http://www.iana.org/assignments/language-subtag-registry">
       http://www.iana.org/assignments/language-subtag-registry</a>
      for further information.
     </p>
<p>
      The union allows for the 'un-declaration' of xml:lang with
      the empty string.
     </p>
</div>
dirderived by: xs:token      
annotation
documentation

      internationalization attributes
      lang        language code (backwards compatible)
      xml:lang    language code (as per XML 1.0 spec)
      dir         direction for weak/neutral text
     
source <xs:attributeGroup name="i18n">
 
<xs:annotation>
   
<xs:documentation>
      internationalization attributes
      lang        language code (backwards compatible)
      xml:lang    language code (as per XML 1.0 spec)
      dir         direction for weak/neutral text
     
</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="lang" type="LanguageCode"/>
 
<xs:attribute ref="xml:lang"/>
 
<xs:attribute name="dir">
   
<xs:simpleType>
     
<xs:restriction base="xs:token">
       
<xs:enumeration value="ltr"/>
       
<xs:enumeration value="rtl"/>
     
</xs:restriction>
   
</xs:simpleType>
 
</xs:attribute>
</xs:attributeGroup>

attribute i18n/@lang
type LanguageCode
properties
isRef 0
source <xs:attribute name="lang" type="LanguageCode"/>

attribute i18n/@dir
type restriction of xs:token
properties
isRef 0
facets
Kind Value annotation 
enumeration ltr 
enumeration rtl 
source <xs:attribute name="dir">
 
<xs:simpleType>
   
<xs:restriction base="xs:token">
     
<xs:enumeration value="ltr"/>
     
<xs:enumeration value="rtl"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy