Example: <conversion>

These search results reproduce every example of the use of <conversion> 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 <conversion> 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


2.3.9 The Unit Declaration

<encodingDesc>
 <unitDecl>
  <unitDef xml:id="keeltype="weight">
   <label>keel</label>
   <placeName ref="#england"/>
   <conversion fromUnit="#chalder"
    toUnit="#keelformula="$fromUnit * 20from="1421"
    to="1676"/>

   <conversion fromUnit="#chalder"
    toUnit="#keelformula="$fromUnit * 16from="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="chaldertype="weight">
   <label>chalder</label>
   <placeName ref="#england"/>
   <conversion fromUnit="#bushel"
    toUnit="#chalderformula="$fromUnit * 32from="1421"
    to="1676"/>

   <conversion fromUnit="#bushel"
    toUnit="#chalderformula="$fromUnit * 36from="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="busheltype="weight">
   <label>bushel</label>
   <placeName ref="#england"/>
   <desc>Bushel was a unit measuring weight of coal.</desc>
  </unitDef>
 </unitDecl>
</encodingDesc>
bibliography 

2.3.9 The Unit Declaration

<encodingDesc>
 <unitDecl>
  <unitDef xml:id="Celsius"
   type="temperature">

   <label>Celsius or Centigrade scale</label>
   <conversion fromUnit="#Fahrenheit"
    toUnit="#Celsiusformula="($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>
bibliography 

<unitDecl>

<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>
bibliography Show all 

<unitDef>

<unitDecl>
 <unitDef xml:id="pechystype="length">
  <label>πῆχυς</label>
  <placeName ref="#athens"/>
  <conversion fromUnit="#daktylos"
   toUnit="#pechysformula="$fromUnit div 24"/>

  <desc>Equivalent to a cubit or 24 daktyloi.</desc>
 </unitDef>
 <unitDef xml:id="daktylostype="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>
bibliography Show all 

<conversion>

<conversion fromUnit="#shilling"
 toUnit="#penceformula="$fromUnit * 12from="1707"
 to="1971"/>
bibliography Show all 

<conversion>

<conversion fromUnit="#pound"
 toUnit="#shillingformula="$fromUnit * 20from="1701"
 to="1971"/>
bibliography Show all 

att.formula

<encodingDesc>
 <unitDecl>
  <unitDef xml:id="stadiumtype="linear">
   <label>stadium</label>
   <placeName ref="#rome"/>
   <conversion fromUnit="#pes"
    toUnit="#stadiumformula="$fromUnit * 625"/>

   <desc>The stadium was a Roman unit of linear measurement equivalent to 625 pedes, or Roman feet.</desc>
  </unitDef>
 </unitDecl>
</encodingDesc>
bibliography 

att.formula

<encodingDesc>
 <unitDecl>
  <unitDef xml:id="wmwtype="power">
   <label>whatmeworry</label>
   <conversion fromUnit="#hpk"
    toUnit="#wmwformula="$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="kwmwtype="power">
   <label>kilowhatmeworry</label>
   <conversion fromUnit="#wmw"
    toUnit="#kwmwformula="$fromUnit div 1000"/>

   <desc>The kilowhatmeworry is equivalent to 1000 whatmeworries.</desc>
  </unitDef>
  <unitDef xml:id="aptype="power">
   <label>kilowhatmeworry</label>
   <conversion fromUnit="#kwmw"
    toUnit="#apformula="$fromUnit div 100"/>

   <desc>One unit of aeolipower (A.P.) is equivalent to 100 kilowhatmeworries.</desc>
  </unitDef>
 </unitDecl>
</encodingDesc>
bibliography 

att.formula

<conversion fromUnit="#furlongsPerFortnight"
 toUnit="#milesPerHour"
 formula="$fromUnit cast as xs:decimal * 0.000372"/>
bibliography 

att.formula

<conversion fromUnit="#deciday"
 toUnit="hour"
 formula="$fromUnit cast as xs:decimal * 144 div 60"/>
bibliography