att.measurement
provides attributes to represent a regularized or normalized measurement.
Attributes
- @unitindicates the units used for the measurement, usually using the standard symbol for the desired units.
- Status
- Optional
- Datatype
- teidata.enumerated
- Suggested values
m- (metre) SI base unit of length
kg- (kilogram) SI base unit of mass
s- (second) SI base unit of time
Hz- (hertz) SI unit of frequency
Pa- (pascal) SI unit of pressure or stress
Ω- (ohm) SI unit of electric resistance
L- (litre) 1 dm³
t- (tonne) 10³ kg
ha- (hectare) 1 hm²
Å- (ångström) 10⁻¹⁰ m
mL- (millilitre)
cm- (centimetre)
dB- (decibel) see remarks, below
kbit- (kilobit) 10³ or 1000 bits
Kibit- (kibibit) 2¹⁰ or 1024 bits
kB- (kilobyte) 10³ or 1000 bytes
KiB- (kibibyte) 2¹⁰ or 1024 bytes
MB- (megabyte) 10⁶ or 1 000 000 bytes
MiB- (mebibyte) 2²⁰ or 1 048 576 bytes
- @unitRefpoints to a unique identifier stored in the @xml:id of a unitDef element that defines a unit of measure.
- Status
- Optional
- Datatype
- teidata.pointer
- @quantityspecifies the number of the specified units that comprise the measurement
- Status
- Optional
- Datatype
- teidata.numeric
- @commodityindicates the substance that is being measured
- Status
- Optional
- Datatype
- 1–∞ occurrences of teidata.word separated by whitespace
Classes and content
- Used by
- Members
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>
These guidelines provide no semantic basis or suggested precedence when both @unit and @unitRef are provided. For this reason simultaneous use of both is not recommended for interchange unless documentation explaining the use is provided, probably in an ODD customization.
In either case, 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.