<unitDef>
unit definition
contains descriptive information related to a specific unit of measurement.
Module headerHDUDECL
Attributes
Global and inherited attributes:
Classes and content
- May contain
header
- Contained by
header
Example
<unitDecl>
<unitDef xml:id="pechys" type="length">
<label>πῆχυς</label>
<placeName ref="#athens"/>
<conversion fromUnit="#daktylos" toUnit="#pechys" formula="$fromUnit div 24"/>
<desc>Equivalent to a cubit or 24 daktyloi.</desc>
</unitDef>
<unitDef xml:id="daktylos" type="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>
Content model
<content>
<alternate minOccurs="1" maxOccurs="unbounded">
<classRef key="model.labelLike" minOccurs="1"/>
<classRef key="model.placeNamePart" minOccurs="0"/>
<elementRef key="conversion" minOccurs="0"/>
<elementRef key="unit" minOccurs="0"/>
</alternate>
</content>