<unit>

<unit> contains a symbol, a word or a phrase referring to a unit of measurement in any kind of formal or informal system. [3.6.3 Numbers and Measures]
Module core — Elements Available in All TEI Documents
Attributes 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.typed (@type, @subtype) att.measurement (@unit, @unitRef, @quantity, @commodity)
Member of
Contained by
analysis: cl phr s span
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: eg valDesc
verse: metSym rhyme
May contain
Example

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>
Example
<measure>
 <num>2</num>
 <unit>kg</unit>
</measure>
Example
<measure type="value">
 <num>3</num>
 <unit type="timeunit="min">minute</unit>
</measure>
Example
<measure type="interval">
 <num atLeast="1.2">1.2</num> to <num atMost="5.6">5.6</num>
 <unit type="velocityunit="km/h">km/h</unit>
</measure>
Example
<p>Light travels at <num value="3E10">3×10^10</num>
 <unit type="rateunit="cm/s">
  <unit type="space">cm</unit> per <unit type="time">second</unit>
 </unit>.</p>
Content model
<content>
 <macroRef key="macro.phraseSeq"/>
</content>
Schema Declaration
<rng:element name="unit">
 <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.typed.attributes"/>
 <rng:ref name="att.measurement.attributes"/>
 <rng:ref name="macro.phraseSeq"/>
</rng:element>
element unit
{
   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.typed.attributes,
   att.measurement.attributes,
   macro.phraseSeq
}