Skip to content

<unit>

contains a symbol, a word or a phrase referring to a unit of measurement in any kind of formal or informal system.

Module coreCONANU

Attributes

Classes and content

Member of
May contain

dictionaries

gaiji

header

textcrit

textstructure

Character data

  • character data
Contained by

analysis

cmc

linking

spoken

tagdocs

Examples

Here is an example of a unit element holding a @unitRef attribute that points to a definition of the unit in the TEI header.

<measure>
  <num>3</num>
  <unit unitRef="#ell">ells</unit>
</measure>
<!-- In the TEI Header: -->
<encodingDesc>
  <unitDecl>
    <unitDef xml:id="ell">
      <label>ell</label>
      <placeName ref="#iceland"/>
      <desc>A unit of measure for cloth, roughly equivalent to 18 inches, or from an adult male’s elbow to the tip of the middle finger.</desc>
    </unitDef>
  </unitDecl>
</encodingDesc>
<measure>
  <num>2</num>
  <unit>kg</unit>
</measure>
<measure type="value">
  <num>3</num>
  <unit type="time" unit="min">minute</unit>
</measure>
<measure type="interval">
  <num atLeast="1.2">1.2</num> to <num atMost="5.6">5.6</num>
  <unit type="velocity" unit="km/h">km/h</unit>
</measure>
<p>Light travels at <num value="3E10">3×10^10</num>
  <unit type="rate" unit="cm/s">
    <unit type="space">cm</unit> per <unit type="time">second</unit>
  </unit>.</p>

Content model

<content>
     <macroRef key="macro.phraseSeq"/>
  </content>