<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.5.3 Numbers and Measures]
組件core — Elements Available in All TEI Documents
屬性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)
俱乐部会员
可包含在於
analysis: cl phr s span
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: eg valDesc
verse: metSym rhyme
可包含
例子

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="timeunit="min">minute</unit>
</measure>
例子
<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>
例子
<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>
宣告
<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
}