<num>

<num> (Zahl) beinhaltet eine Zahl, die auf beliebige Art geschrieben sein kann. [3.6.3 Numbers and Measures]
Modul core — Elements Available in All TEI Documents
Attribute att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.ranging (@atLeast, @atMost, @min, @max, @confidence) att.typed (type, @subtype)
type bestimmt die Art des numerischen Wertes.
Abgeleitet aus att.typed
Zustand Optional
Datentyp teidata.enumerated
Empfohlene Werte sind:
cardinal
Kardinalzahl, z. B. 21, 21,5
ordinal
Ordinalzahl, z. B. 21., fünfter
fraction
Bruchzahl, z. B. 1/2 oder drei Viertel
percentage
Prozentangabe
Anmerkung

Je nach gewünschter Typologie können andere Werte für dieses Attribut verwendet werden.

value beinhaltet den Zahlenwert in standardisierter Form.
Zustand Optional
Datentyp teidata.numeric
Werte ein numerischer Wert
Anmerkung

Die benutzte standardisierte Form wird im TEI-Datentyp teidata.numeric definiert.

Mitglied des
Enthalten in
analysis: cl phr s span
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: eg valDesc
verse: metSym rhyme
Kann enthalten
Anmerkung

Detaillierte Analysen von Mengen und Maßeinheiten in historischen Dokumenten können auch den 'feature structure' Mechanismus verwenden, wie in Kapitel 18 Feature Structures beschrieben. Das num-Element ist für einfache Anwendungen vorgesehen.

Beispiel
<p>I reached <num type="cardinalvalue="21">twenty-one</num> on
my <num type="ordinalvalue="21">twenty-first</num> birthday</p>
<p>Light travels at <num value="3E10">3×10<hi rend="sup">10</hi>
 </num> cm per second.</p>
Content model
<content>
 <macroRef key="macro.phraseSeq"/>
</content>
Schema Deklaration
<rng:element name="num">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.ranging.attributes"/>
 <rng:ref name="att.typed.attribute.subtype"/>
 <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:ref name="teidata.enumerated"/>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="value">
   <rng:ref name="teidata.numeric"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.phraseSeq"/>
</rng:element>
element num
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.ranging.attributes,
   att.typed.attribute.subtype,
   attribute type
   {
      "cardinal" | "ordinal" | "fraction" | "percentage" | teidata.enumerated
   }?,
   attribute value { teidata.numeric }?,
   macro.phraseSeq
}