att.measurement
att.measurement provides attributes to represent a regularized or normalized measurement. | |||||||||||||||||||||||||||||||
Module | tei — The TEI Infrastructure | ||||||||||||||||||||||||||||||
Members | measure measureGrp unit | ||||||||||||||||||||||||||||||
Attributes |
|
||||||||||||||||||||||||||||||
Schematron |
<sch:rule context="tei:*[@unitRef]"> <sch:report test="@unit" role="info">The @unit attribute may be unnecessary when @unitRef is present.</sch:report> </sch:rule> |
||||||||||||||||||||||||||||||
Note |
This attribute class provides a triplet of attributes that may be used either to regularize
the values of the measurement being encoded, or to normalize them with respect to
a standard measurement system.
<l> <!-- regularization:--> So weren't you gonna buy <measure quantity="0.5" unit="gal" commodity="ice cream">half a gallon</measure>, baby </l> <l> <!-- normalization: --> So won't you go and buy <measure quantity="1.893" unit="L" commodity="ice cream">half a gallon</measure>, baby? </l> The unit should normally be named using the standard symbol for an SI unit (see further http://www.bipm.org/en/publications/si-brochure/; http://physics.nist.gov/cuu/Units/). However, encoders may also specify measurements using informally defined units such as lines or characters. |