teidata.temporal.iso

teidata.temporal.iso 定義該系列表示時間的屬性值,例如日期、時間或兩者的組合,需符合國際標準 Data elements and interchange formats – Information interchange – Representation of dates and times
組件tei — The TEI Infrastructure
屬於
分類:
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>
宣告
<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/:+\-]+" }