teidata.temporal.iso

teidata.temporal.iso defines the range of attribute values expressing a temporal expression such as a date, a time, or a combination of them, that conform to the international standard Data elements and interchange formats – Information interchange – Representation of dates and times.
Modulotei — The TEI Infrastructure
Usato da
Classe:
Content model
<content>
 <alternate>
  <dataRef name="date"/>
  <dataRef name="gYear"/>
  <dataRef name="gMonth"/>
  <dataRef name="gDay"/>
  <dataRef name="gYearMonth"/>
  <dataRef name="gMonthDay"/>
  <dataRef name="time"/>
  <dataRef name="dateTime"/>
  <dataRef name="token"
   restriction="[0-9.,DHMPRSTWYZ/:+\-]+"/>

 </alternate>
</content>
Dichiarazione
<rng:define name="teidata.temporal.iso">
 <rng:choice>
  <rng:data type="date"/>
  <rng:data type="gYear"/>
  <rng:data type="gMonth"/>
  <rng:data type="gDay"/>
  <rng:data type="gYearMonth"/>
  <rng:data type="gMonthDay"/>
  <rng:data type="time"/>
  <rng:data type="dateTime"/>
  <rng:data type="token">
   <rng:param name="pattern">[0-9.,DHMPRSTWYZ/:+\-]+</rng:param>
  </rng:data>
 </rng:choice>
</rng:define>
teidata.temporal.iso =
   xsd:date
 | xsd:gYear
 | xsd:gMonth
 | xsd:gDay
 | xsd:gYearMonth
 | xsd:gMonthDay
 | xsd:time
 | xsd:dateTime
 | token { pattern = "[0-9.,DHMPRSTWYZ/:+\-]+" }