teidata.temporal.working

teidata.temporal.working defines the range of values, conforming to the W3C XML Schema Part 2: Datatypes Second Edition specification, expressing a date or a date and a time within the working life of the document.
Módulotei — The TEI Infrastructure
Usado por
Clase:
Content model
<content>
 <alternate>
  <dataRef name="date"
   restriction="(19[789][0-9]|[2-9][0-9]{3}).*"/>

  <dataRef name="dateTime"
   restriction="(19[789][0-9]|[2-9][0-9]{3}).*"/>

 </alternate>
</content>
Declaración
<rng:define name="teidata.temporal.working">
 <rng:choice>
  <rng:data type="date">
   <rng:param name="pattern">(19[789][0-9]|[2-9][0-9]{3}).*</rng:param>
  </rng:data>
  <rng:data type="dateTime">
   <rng:param name="pattern">(19[789][0-9]|[2-9][0-9]{3}).*</rng:param>
  </rng:data>
 </rng:choice>
</rng:define>
teidata.temporal.working =
   xsd:date { pattern = "(19[789][0-9]|[2-9][0-9]{3}).*" }
 | xsd:dateTime { pattern = "(19[789][0-9]|[2-9][0-9]{3}).*" }