Skip to content

<unitDecl>

unit declarations

provides information about units of measurement that are not members of the International System of Units.

Module headerHDUDECL

Attributes

Classes and content

Member of
May contain

header

Contained by

Example

<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>

Content model

<content>
    <elementRef key="unitDef" minOccurs="1" maxOccurs="unbounded"/>
  </content>