tei:att.damaged.attribute.degree

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
degree union of(xs:double, restriction of xs:token) optional
provides a coded representation of the degree of damage, either as a
number between 0 (undamaged) and 1 (very extensively damaged), or as one of the codes
high, medium, low, or unknown. The damage element with the degree attribute should only be
used where the text may be read with some confidence; text supplied from other sources
should be tagged as supplied.

Used By

Attribute Group tei:att.damaged.attributes

Source

<xs:attributeGroup name="att.damaged.attribute.degree">
  <xs:attribute name="degree">
    <xs:annotation>
      <xs:documentation>provides a coded representation of the degree of damage, either as a number between 0 (undamaged) and 1 (very extensively damaged), or as one of the codes high, medium, low, or unknown. The damage element with the degree attribute should only be used where the text may be read with some confidence; text supplied from other sources should be tagged as supplied.</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:union memberTypes="xs:double">
        <xs:simpleType>
          <xs:restriction base="xs:token">
            <xs:enumeration value="high"/>
            <xs:enumeration value="medium"/>
            <xs:enumeration value="low"/>
            <xs:enumeration value="unknown"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:union>
    </xs:simpleType>
  </xs:attribute>
</xs:attributeGroup>