tm:tu

Element Information

Model

Children: tm:mh, tm:span, tm:ti

Attributes

QName Type Fixed Default Use Inheritable Annotation
crc tm:CRC required
flag tm:flag1 required
id tm:UnitID required
ti restriction of xs:integer optional
translate tm:YesNo yes optional
type union of(tm:type, tm:Custom) required
version xs:IDREF required
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.
xml:space restriction of xs:NCName default optional

Used By

Element tm:te

Source

<xs:element name="tu">
  <xs:complexType mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tm:ti"/>
      <xs:element minOccurs="0" maxOccurs="1" ref="tm:mh"/>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="tm:span"/>
    </xs:choice>
    <xs:attribute name="id" use="required" type="tm:UnitID"/>
    <xs:attribute name="crc" use="required" type="tm:CRC"/>
    <xs:attribute name="version" use="required" type="xs:IDREF"/>
    <xs:attribute name="flag" use="required" type="tm:flag1"/>
    <xs:attribute name="type" use="required">
      <xs:simpleType>
        <xs:union memberTypes="tm:type tm:Custom"/>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="ti">
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:minInclusive value="0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="translate" use="optional" default="yes" type="tm:YesNo"/>
    <xs:attribute ref="xml:space" default="default"/>
    <xs:attribute ref="xml:lang"/>
  </xs:complexType>
</xs:element>

Sample