bdo

I18N BiDi over-ride

Element Information

Model

a | br | span | bdo | map | object | img | tt | i | b | big | small | em | strong | dfn | code | q | samp | kbd | var | cite | abbr | acronym | sub | sup | input | select | textarea | label | button | ins | del | script

Attributes

QName Type Fixed Default Use Inheritable Annotation
class xs:NMTOKENS optional
dir restriction of xs:token required
id xs:ID optional
lang LanguageCode optional
onclick Script optional
ondblclick Script optional
onkeydown Script optional
onkeypress Script optional
onkeyup Script optional
onmousedown Script optional
onmousemove Script optional
onmouseout Script optional
onmouseover Script optional
onmouseup Script optional
style StyleSheet optional
title Text optional
xml:lang union of(xs:language, restriction of xs:string) optional
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
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

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

Used By

Element Group special.pre

Source

<xs:element name="bdo">
  <xs:annotation>
    <xs:documentation>I18N BiDi over-ride</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:complexContent>
      <xs:extension base="Inline">
        <xs:attributeGroup ref="coreattrs"/>
        <xs:attributeGroup ref="events"/>
        <xs:attribute name="lang" type="LanguageCode"/>
        <xs:attribute ref="xml:lang"/>
        <xs:attribute name="dir" use="required">
          <xs:simpleType>
            <xs:restriction base="xs:token">
              <xs:enumeration value="ltr"/>
              <xs:enumeration value="rtl"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample