unit

specifies the unit of time corresponding to the interval value of the
timeline or of its constituent points in time. Suggested values include: 1] d(days) ; 2]
h(hours) ; 3] min(minutes) ; 4] s(seconds) ; 5] ms(milliseconds)

Attribute Information

Used By

Element tei:timeline

Source

<xs:attribute name="unit">
  <xs:annotation>
    <xs:documentation>specifies the unit of time corresponding to the interval value of the timeline or of its constituent points in time. Suggested values include: 1] d(days) ; 2] h(hours) ; 3] min(minutes) ; 4] s(seconds) ; 5] ms(milliseconds)</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:union>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="d">
            <xs:annotation>
              <xs:documentation>(days)</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="h">
            <xs:annotation>
              <xs:documentation>(hours)</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="min">
            <xs:annotation>
              <xs:documentation>(minutes)</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="s">
            <xs:annotation>
              <xs:documentation>(seconds)</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="ms">
            <xs:annotation>
              <xs:documentation>(milliseconds)</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:pattern value="(\p{L}|\p{N}|\p{P}|\p{S})+"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:union>
  </xs:simpleType>
</xs:attribute>

Sample