teidata.numeric

teidata.numeric defines the range of attribute values used for numeric values.
Modul tei — The TEI Infrastructure
Verwendet von
Element:
Content model
<content>
 <alternate>
  <dataRef name="double"/>
  <dataRef name="token"
   restriction="(\-?[\d]+/\-?[\d]+)"/>

  <dataRef name="decimal"/>
 </alternate>
</content>
Deklaration
<rng:define name="teidata.numeric">
 <rng:choice>
  <rng:data type="double"/>
  <rng:data type="token">
   <rng:param name="pattern">(\-?[\d]+/\-?[\d]+)</rng:param>
  </rng:data>
  <rng:data type="decimal"/>
 </rng:choice>
</rng:define>
teidata.numeric =
   xsd:double | token { pattern = "(\-?[\d]+/\-?[\d]+)" } | xsd:decimal