teidata.duration.iso

teidata.duration.iso defines the range of attribute values available for representation of a duration in time using ISO 8601 standard formats
Modulotei — The TEI Infrastructure
Usato da
Classe:
Content model
<content>
 <dataRef name="token"
  restriction="[0-9.,DHMPRSTWYZ/:+\-]+"/>

</content>
Dichiarazione
<rng:define name="teidata.duration.iso">
 <rng:data type="token">
  <rng:param name="pattern">[0-9.,DHMPRSTWYZ/:+\-]+</rng:param>
 </rng:data>
</rng:define>
teidata.duration.iso = token { pattern = "[0-9.,DHMPRSTWYZ/:+\-]+" }
Esempio
<time dur-iso="PT0,75H">three-quarters of an hour</time>
Esempio
<date dur-iso="P1,5D">a day and a half</date>
Esempio
<date dur-iso="P14D">a fortnight</date>
Esempio
<time dur-iso="PT0.02S">20 ms</time>