<conversion>
<conversion> defines how to calculate one unit of measure in terms of another. [2.3.9 The Unit Declaration] | |||||||||||||||||||||||
組件 | header — The TEI Header | ||||||||||||||||||||||
屬性 |
|
||||||||||||||||||||||
可包含在於 |
header: unitDef
|
||||||||||||||||||||||
可包含 | 空白元素 | ||||||||||||||||||||||
註 |
The conversion element is designed to store information about converting from one unit of measurement to another. The formula attribute holds an XPath expression that indicates how the measurement system in fromUnit is converted to the system in toUnit. Do not confuse the usage of the dating attributes (from and to) in the examples with the attributes (fromUnit and toUnit) designed to reference units of measure. |
||||||||||||||||||||||
例子 | |||||||||||||||||||||||
例子 | |||||||||||||||||||||||
Content model |
<content> |
||||||||||||||||||||||
宣告 |
<rng:element name="conversion"> element conversion { 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, att.datable.attributes, att.datable.w3c.attributes, att.datable.iso.attributes, att.datable.custom.attributes, att.formula.attributes, att.locatable.attributes, attribute calendar { list { teidata.pointer+ } }?, attribute fromUnit { teidata.pointer }, attribute toUnit { teidata.pointer }, empty } |