<num>

<num> (number) contains a number, written in any form. 3.5.3 Numbers and Measures
Modul core — 3 Elements Available in All TEI Documents
Neben global gültigen Attributen
type indicates the type of numeric value.
Zustand Optional
Datentyp

<rng:ref name="data.enumerated"/>
data.enumerated
Empfohlene Werte sind:
cardinal
absolute number, e.g. 21, 21.5
ordinal
ordinal number, e.g. 21st
fraction
fraction, e.g. one half or three-quarters
percentage
a percentage
value supplies the value of the number in standard form.
Zustand Optional
Datentyp

<rng:ref name="data.numeric"/>
data.numeric
Werte a numeric value.
Verwendet von
Kann enthalten
Deklaration

<rng:element name="num">
 <rng:ref name="att.global.attributes"/>
 <rng:optional>
  <rng:attribute name="type">
   <rng:choice>
    <rng:value>cardinal</rng:value>
    <rng:value>ordinal</rng:value>
    <rng:value>fraction</rng:value>
    <rng:value>percentage</rng:value>
    <rng:data type="Name"/>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="value">
   <rng:ref name="data.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.phraseSeq"/>
</rng:element>
element num
{
   att.global.attributes,
   attribute type
   {
      "cardinal" | "ordinal" | "fraction" | "percentage" | xsd:Name
   }?,
   attribute value { data.numeric }?,
   macro.phraseSeq
}
Beispiel
<p>I reached <num type="cardinal" value="21">twenty-one</num> on my <num type="ordinal" value="21">twenty-first</num> birthday... light travels at <num value="10E10">10<hi rend="sup">10</hi>
 </num> cm per second.</p>