<num>

<num> (numero) contiene un numero in qualsiasi forma. [3.5.3 Numbers and Measures]
Modulocore — 3 Elements Available in All TEI Documents
Attributiatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.ranging (@atLeast, @atMost, @min, @max, @confidence)
typeindica il tipo di valore numerico
Stato Opzionale
Tipo di dati

<rng:ref name="data.enumerated"/>
data.enumerated
I valori suggeriti includono:
cardinal
numero assoluto, ad esempio 21 o 21,5
ordinal
numero ordinale, ad esempio 21°
fraction
frazione, ad esempio un terzo o tre quarti
percentage
percentuale
valueindica il valore del numero in formato standard
Stato Opzionale
Tipo di dati

<rng:ref name="data.numeric"/>
data.numeric
Valori a numeric value.
Usato da
Contenuto in
analysis: cl phr s span
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: valDesc
verse: metSym rhyme
Può contenere
Dichiarazione

<rng:element name="num">
 <rng:ref name="att.global.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.ranging.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,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.ranging.attributes,
   attribute type
   {
      "cardinal" | "ordinal" | "fraction" | "percentage" | xsd:Name
   }?,
   attribute value { data.numeric }?,
   macro.phraseSeq
}
Esempio
<p>I reached <num type="cardinal" value="21">twenty-one</num> on
my <num type="ordinal" value="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>