<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]
Moduleheader
Attributes
calendarindicates one or more systems or calendars to which the date represented by the content of this element belongs.
Deprecatedwill be removed on 2024-11-11
Status Optional
Datatype 1–∞ occurrences of teidata.pointer separated by whitespace
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>
Member of
Contained by
header: encodingDesc
May contain
header: unitDef
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="unitDefminOccurs="1"
  maxOccurs="unbounded"/>

</content>
Schema Declaration
element unitDecl
{
   tei_att.canonical.attributes,
   tei_att.datable.attributes,
   tei_att.global.attributes,
   attribute calendar { list { teidata.pointer+ } }?,
   tei_unitDef+
}