Exemple: <unitDef> (unit definition)
These search results reproduce every example of the use of <unitDef> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <unitDef> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.
2 The TEI Header
<encodingDesc>
<unitDecl>
<unitDef xml:id="keel" type="weight">
<label>keel</label>
<placeName ref="#england"/>
<conversion fromUnit="#chalder"
toUnit="#keel" formula="$fromUnit * 20" from="1421"
to="1676"/>
<conversion fromUnit="#chalder"
toUnit="#keel" formula="$fromUnit * 16" from="1676"
to="1824"/>
<desc>Keel was a unit measuring weight of coal. It had been equal to 20 chalders from 1421 to 1676, and it was made to be equivalent to 16 chalders from 1676 to 1824.</desc>
</unitDef>
<unitDef xml:id="chalder" type="weight">
<label>chalder</label>
<placeName ref="#england"/>
<conversion fromUnit="#bushel"
toUnit="#chalder" formula="$fromUnit * 32" from="1421"
to="1676"/>
<conversion fromUnit="#bushel"
toUnit="#chalder" formula="$fromUnit * 36" from="1676"
to="1824"/>
<desc>Chalder was a unit measuring weight of coal. It had been equal to 32 bushels from 1421 to 1676, and it was made to be equivalent to 36 bushels from 1676 to 1824.</desc>
</unitDef>
<unitDef xml:id="bushel" type="weight">
<label>bushel</label>
<placeName ref="#england"/>
<desc>Bushel was a unit measuring weight of coal.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
<unitDecl>
<unitDef xml:id="keel" type="weight">
<label>keel</label>
<placeName ref="#england"/>
<conversion fromUnit="#chalder"
toUnit="#keel" formula="$fromUnit * 20" from="1421"
to="1676"/>
<conversion fromUnit="#chalder"
toUnit="#keel" formula="$fromUnit * 16" from="1676"
to="1824"/>
<desc>Keel was a unit measuring weight of coal. It had been equal to 20 chalders from 1421 to 1676, and it was made to be equivalent to 16 chalders from 1676 to 1824.</desc>
</unitDef>
<unitDef xml:id="chalder" type="weight">
<label>chalder</label>
<placeName ref="#england"/>
<conversion fromUnit="#bushel"
toUnit="#chalder" formula="$fromUnit * 32" from="1421"
to="1676"/>
<conversion fromUnit="#bushel"
toUnit="#chalder" formula="$fromUnit * 36" from="1676"
to="1824"/>
<desc>Chalder was a unit measuring weight of coal. It had been equal to 32 bushels from 1421 to 1676, and it was made to be equivalent to 36 bushels from 1676 to 1824.</desc>
</unitDef>
<unitDef xml:id="bushel" type="weight">
<label>bushel</label>
<placeName ref="#england"/>
<desc>Bushel was a unit measuring weight of coal.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
<encodingDesc>
<unitDecl>
<unitDef xml:id="Celsius"
type="temperature">
<label>Celsius or Centrigrade scale</label>
<conversion fromUnit="#Fahrenheit"
toUnit="#Celsius" formula="($fromUnit - 32) * (5 div 9)"/>
<desc>To convert from the Fahrenheit to the Celsius scale, subtract 32 from the Celsius temperature and multiply by 5/9.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
<unitDecl>
<unitDef xml:id="Celsius"
type="temperature">
<label>Celsius or Centrigrade scale</label>
<conversion fromUnit="#Fahrenheit"
toUnit="#Celsius" formula="($fromUnit - 32) * (5 div 9)"/>
<desc>To convert from the Fahrenheit to the Celsius scale, subtract 32 from the Celsius temperature and multiply by 5/9.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
<unitDecl>
<unitDef xml:id="斤" type="weight">
<label xml:lang="ja">斤</label>
<label xml:lang="ja-Latn">kin</label>
<conversion fromUnit="#両" toUnit="#斤"
formula="16"/>
</unitDef>
<unitDef xml:id="両" type="weight">
<label xml:lang="ja">両</label>
<label xml:lang="ja-Latn">ryo</label>
<conversion fromUnit="#分" toUnit="#両"
formula="4"/>
</unitDef>
<unitDef xml:id="分" type="weight">
<label xml:lang="ja">分</label>
<label xml:lang="ja-Latn">Bu</label>
<conversion fromUnit="#銖" toUnit="#分"
formula="6"/>
</unitDef>
<unitDef xml:id="銖" type="weight">
<label xml:lang="ja">銖</label>
<label xml:lang="ja-Latn">Shu</label>
</unitDef>
</unitDecl>
<unitDef xml:id="斤" type="weight">
<label xml:lang="ja">斤</label>
<label xml:lang="ja-Latn">kin</label>
<conversion fromUnit="#両" toUnit="#斤"
formula="16"/>
</unitDef>
<unitDef xml:id="両" type="weight">
<label xml:lang="ja">両</label>
<label xml:lang="ja-Latn">ryo</label>
<conversion fromUnit="#分" toUnit="#両"
formula="4"/>
</unitDef>
<unitDef xml:id="分" type="weight">
<label xml:lang="ja">分</label>
<label xml:lang="ja-Latn">Bu</label>
<conversion fromUnit="#銖" toUnit="#分"
formula="6"/>
</unitDef>
<unitDef xml:id="銖" type="weight">
<label xml:lang="ja">銖</label>
<label xml:lang="ja-Latn">Shu</label>
</unitDef>
</unitDecl>
<unitDecl>
<unitDef xml:id="pechys" type="length">
<label>πῆχυς</label>
<placeName ref="#athens"/>
<conversion fromUnit="#daktylos"
toUnit="#pechys" formula="24"/>
<desc>Equivalent to a cubit or 24 daktyloi.</desc>
</unitDef>
<unitDef xml:id="daktylos" type="length">
<label>δάκτυλος</label>
<placeName ref="#athens"/>
<desc>A basic unit of length equivalent to one finger (or the size of a thumb) in ancient Greece.</desc>
</unitDef>
</unitDecl>
<unitDef xml:id="pechys" type="length">
<label>πῆχυς</label>
<placeName ref="#athens"/>
<conversion fromUnit="#daktylos"
toUnit="#pechys" formula="24"/>
<desc>Equivalent to a cubit or 24 daktyloi.</desc>
</unitDef>
<unitDef xml:id="daktylos" type="length">
<label>δάκτυλος</label>
<placeName ref="#athens"/>
<desc>A basic unit of length equivalent to one finger (or the size of a thumb) in ancient Greece.</desc>
</unitDef>
</unitDecl>
<encodingDesc>
<unitDecl>
<unitDef xml:id="stadium" type="linear">
<label>stadium</label>
<placeName ref="#rome"/>
<conversion fromUnit="#pes"
toUnit="#stadium" formula="$fromUnit * 625"/>
<desc>The stadium was a Roman unit of linear measurement equivalent to 625 pedes, or Roman feet.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
<unitDecl>
<unitDef xml:id="stadium" type="linear">
<label>stadium</label>
<placeName ref="#rome"/>
<conversion fromUnit="#pes"
toUnit="#stadium" formula="$fromUnit * 625"/>
<desc>The stadium was a Roman unit of linear measurement equivalent to 625 pedes, or Roman feet.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
<encodingDesc>
<unitDecl>
<unitDef xml:id="wmw" type="power">
<label>whatmeworry</label>
<conversion fromUnit="#hpk"
toUnit="#wmw" formula="$fromUnit * 1"/>
<desc>In the Potrzebie system of measures as introduced by Donald Knuth, the whatmeworry unit of power is equivalent to one hah per kovac.</desc>
</unitDef>
<unitDef xml:id="kwmw" type="power">
<label>kilowhatmeworry</label>
<conversion fromUnit="#wmw"
toUnit="#kwmw" formula="$fromUnit div 1000"/>
<desc>The kilowhatmeworry is equivalent to 1000 whatmeworries.</desc>
</unitDef>
<unitDef xml:id="ap" type="power">
<label>kilowhatmeworry</label>
<conversion fromUnit="#kwmw"
toUnit="#ap" formula="$fromUnit div 100"/>
<desc>One unit of aeolipower (A.P.) is equivalent to 100 kilowhatmeworries.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
<unitDecl>
<unitDef xml:id="wmw" type="power">
<label>whatmeworry</label>
<conversion fromUnit="#hpk"
toUnit="#wmw" formula="$fromUnit * 1"/>
<desc>In the Potrzebie system of measures as introduced by Donald Knuth, the whatmeworry unit of power is equivalent to one hah per kovac.</desc>
</unitDef>
<unitDef xml:id="kwmw" type="power">
<label>kilowhatmeworry</label>
<conversion fromUnit="#wmw"
toUnit="#kwmw" formula="$fromUnit div 1000"/>
<desc>The kilowhatmeworry is equivalent to 1000 whatmeworries.</desc>
</unitDef>
<unitDef xml:id="ap" type="power">
<label>kilowhatmeworry</label>
<conversion fromUnit="#kwmw"
toUnit="#ap" formula="$fromUnit div 100"/>
<desc>One unit of aeolipower (A.P.) is equivalent to 100 kilowhatmeworries.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
3 Elements Available in All TEI Documents
<measure type="weight">
<num>2</num> pounds of flesh
</measure>
<measure type="currency">£10-11-6d</measure>
<measure type="area" unitRef="#merk">2 <unit>merks</unit> of old extent</measure>
<!-- In the TEI Header: -->
<encodingDesc>
<unitDecl>
<unitDef xml:id="merk" type="area">
<label>merk</label>
<placeName ref="#Scotland"/>
<desc>A merk was an area of land determined variably by its agricultural productivity.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
<num>2</num> pounds of flesh
</measure>
<measure type="currency">£10-11-6d</measure>
<measure type="area" unitRef="#merk">2 <unit>merks</unit> of old extent</measure>
<!-- In the TEI Header: -->
<encodingDesc>
<unitDecl>
<unitDef xml:id="merk" type="area">
<label>merk</label>
<placeName ref="#Scotland"/>
<desc>A merk was an area of land determined variably by its agricultural productivity.</desc>
</unitDef>
</unitDecl>
</encodingDesc>
<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>
<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>