<num>
<num> (number) contains a number, written in any form. 3.5.3 Numbers and Measures | |||||||||||||||||||||
Module | core — 3 Elements Available in All TEI Documents | ||||||||||||||||||||
Attributes | In addition to global attributes
| ||||||||||||||||||||
Used by | model.measureLike | ||||||||||||||||||||
May contain | core: abbr add address binaryObject cb choice corr date del distinct email emph expan foreign gap gloss graphic hi index lb measure measureGrp mentioned milestone name note num orig pb ptr ref reg rs sic soCalled term time title unclear figures: formula gaiji: g msdescription: catchwords depth dimensions height heraldry locus material origDate origPlace secFol signatures stamp watermark width | ||||||||||||||||||||
Declaration |
element num { att.global.attributes, attribute type { "cardinal" | "ordinal" | "fraction" | "percentage" | xsd:Name }?, attribute value { data.numeric }?, macro.phraseSeq } | ||||||||||||||||||||
Example | <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> | ||||||||||||||||||||
Note | Detailed analyses of quantities and units of measure in
historical documents may also use the feature structure mechanism
described in chapter 18 Feature Structures. The num element is
intended for use in simple applications. |