`<num>` | (number) contains a number, written in any form.
Attributes: |
`type` | indicates the type of numeric value.
| Datatype: CDATA
| Legal values: |
`cardinal` | absolute number, e.g. ``21'', ``21.5''
`ordinal` | ordinal number, e.g. ``21st''
`fraction` | fraction, e.g. ``one half'' or ``three halves''
`percentage` | e.g. ``ten percent''
| Default: #IMPLIED
Note | If a different typology is desired, other values can be used for this attribute.
`value` | supplies the value of the number in an application-dependent standard form.
| Datatype: CDATA
| Values: any numeric value in the chosen standard form.
| Default: #IMPLIED
Note | The standard form used should be described in the `<std.vals>` element in the TEI header. Standard forms may be defined from scratch, or borrowed from existing practice (e.g. ``Standard values are given in the notation defined for numeric constants in the C language.'')

Example

    <num type=cardinal value='21'>twenty-one</num>
    <num type=cardinal value='1.5'>1.5</num>
    He stands <num type=cardinal value='1.9'>1 · 90</num>m. high.

Note

Detailed analyses of quantities and units of measure in historical documents should use the feature structure mechanism described in chapter 16 . The `<num>` element is intended for use in simple applications.

Tagset additional tag set for common core features
Class data [and indirectly also:] phrase
Filename `teicore2`
Content: May contain character data and phrase-level elements.
Parents ab abbr activity actor add addName addrLine admin affiliation author authority bibl biblScope birth bloc byline camera caption case castItem catDesc cell channel cl classCode closer colloc constitution corr country creation damage dataDesc date dateRange def del derivation desc descrip distance distinct distributor docAuthor docDate docEdition docImprint domain edition editor education emph equiv etym expan extent fDescr factuality figDesc firstLang foreign forename form fsDescr funder fw gen genName gloss gram gramGrp head headItem headLabel hi hyph imprimatur interaction item itype l label lang langKnown language lbl lem locale measure meeting mentioned mood name nameLink note num number occasion occupation opener orgDivn orgName orgTitle orgType orig orth otherForm p per persName phr placeName pos preparedness principal pron pubPlace publisher purpose q quote rdg re ref reg region rendition residence resp restore role roleDesc roleName rs s salute seg sense set settlement sic signed soCalled socecStatus sound speaker sponsor stage street stress subc supplied surname syll symbol tagUsage tech term time timeRange title titlePart tns tr trailer trans u unclear usg valDesc view wit witDetail witness writing xr xref
Children#PCDATA abbr add address app att c caesura cl corr damage date dateRange dateStruct del distinct emph expan foreign formula fw geogName gi gloss handShift hi lang link m measure mentioned name num oRef oVar orgName orig pRef pVar persName phr placeName ptr ref reg restore rs s seg sic soCalled space supplied tag term time timeRange timeStruct title unclear val w xptr xref
Declaration

    <!ELEMENT num           - -  (%phrase.seq;)                     >
    <!ATTLIST num                %a.global
              type               CDATA               #IMPLIED
              value              CDATA               #IMPLIED       >

See 6.4.3

Back to index