<unitDecl>

<unitDecl> (unit declarations) provides information about units of measurement that are not members of the International System of Units. [2.3.9 The Unit Declaration]
組件 header — The TEI Header
屬性
calendar⚓︎ 指明該日期表示所使用的曆法計算系統。
Deprecated This feature will be withdrawn after 2024-11-11
狀態 非必備的
資料類型 1–∞ 次可出現: teidata.pointer 以空白鍵隔開
Schematron

<sch:rule context="tei:*[@calendar]">
<sch:assert test="string-length( normalize-space(.) ) gt 0"> @calendar indicates one or more
systems or calendars to which the date represented by the content of this element belongs,
but this <sch:name/> element has no textual content.</sch:assert>
</sch:rule>
俱乐部会员
可包含在於
header: encodingDesc
可包含
header: 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>
Content model
<content>
 <elementRef key="unitDefminOccurs="1"
  maxOccurs="unbounded"/>

</content>
宣告
<rng:element name="unitDecl">
 <rng:ref name="att.canonical.attributes"/>
 <rng:ref name="att.datable.attributes"/>
 <rng:ref name="att.datable.w3c.attributes"/>
 <rng:ref name="att.datable.iso.attributes"/>
 <rng:ref name="att.datable.custom.attributes"/>
 <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:optional>
  <rng:attribute name="calendar">
   <rng:list>
    <rng:oneOrMore>
     <rng:ref name="teidata.pointer"/>
    </rng:oneOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:oneOrMore>
  <rng:ref name="unitDef"/>
 </rng:oneOrMore>
</rng:element>
element unitDecl
{
   att.canonical.attributes,
   att.datable.attributes,
   att.datable.w3c.attributes,
   att.datable.iso.attributes,
   att.datable.custom.attributes,
   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,
   attribute calendar { list { teidata.pointer+ } }?,
   unitDef+
}