type

indicates the type of numeric value. Suggested values include: 1]
cardinal; 2] ordinal; 3] fraction; 4] percentage

Attribute Information

Used By

Element tei:num

Source

<xs:attribute name="type">
  <xs:annotation>
    <xs:documentation>indicates the type of numeric value. Suggested values include: 1] cardinal; 2] ordinal; 3] fraction; 4] percentage</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:union>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="cardinal">
            <xs:annotation>
              <xs:documentation>absolute number, e.g. 21, 21.5</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="ordinal">
            <xs:annotation>
              <xs:documentation>ordinal number, e.g. 21st</xs:documentation>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="fraction">
            <xs:annotation>
              <xs:documentation>fraction, e.g. one half or three-quarters</xs:documentation>
            </xs:anno