<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]
Módulo header — The TEI Header
Atributos
calendar⚓︎ indica el sistema o calendario en que se muestra una fecha.
Deprecated This feature will be withdrawn after 2024-11-11
Estado Opcional
Tipo de datos 1–∞ apariciones de teidata.pointer separado por espacio en blanco
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>
Miembro de
Contenido en
header: encodingDesc
Puede contener
header: unitDef
Ejemplo
<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>
Declaración
<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+
}