teidata.numeric

teidata.numeric 定義用於數值的屬性值範圍
組件tei — The TEI Infrastructure
屬於
元素:
Content model
<content>
 <alternate>
  <dataRef name="double"/>
  <dataRef name="token"
   restriction="(\-?[\d]+/\-?[\d]+)"/>

  <dataRef name="decimal"/>
 </alternate>
</content>
宣告
<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