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
Modul tei — The TEI Infrastructure
Verwendet von
Klasse:
Content model
<content>
 <dataRef name="token"
  restriction="[0-9.,DHMPRSTWYZ/:+\-]+"/>

</content>
Deklaration
<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/:+\-]+" }
Beispiel
<time dur-iso="PT0,75H">three-quarters of an hour</time>
Beispiel
<date dur-iso="P1,5D">a day and a half</date>
Beispiel
<date dur-iso="P14D">a fortnight</date>
Beispiel
<time dur-iso="PT0.02S">20 ms</time>