Text Encoding Initiative

The XML Version of the TEI Guidelines

<rate>


<rate> (rate value) provides a rate value or range of values for a feature.
Attributes (In addition to global attributes and those inherited from singleVal)
value provides a numeric value.
Datatype: CDATA
Values: A real number or integer.
Default: #REQUIRED
valueTo together with value attribute, provides a numeric range of values.
Datatype: CDATA
Values: A real number or integer.
Default: #IMPLIED
unit provides a unit for a rate feature, one of a finite list that may be specified in a feature declaration.
Datatype: CDATA
Values: A string, e.g. meter.
Default: #IMPLIED
per provides an interval for a rate feature, one of a finite list that may be specified in a feature declaration.
Datatype: CDATA
Values: A string, e.g. second.
Default: #REQUIRED
rel indicates the relation of the given value or range to the actual value or range.
Datatype: (eq|ne|gt|ge|lt|le)
Legal values are:
eq indicates that the actual value or range is that given.
ne indicates that the actual value or range is not the value or range given by the element.
lt indicates that the actual value or range is less than the given value or range.
le indicates that the actual value or range is less than or equal to the given value or range.
gt indicates that the actual value or range is greater than the given value or range.
ge indicates that the actual value or range is greater than or equal to the given value or range.
Default: eq
type indicates whether value is to be understood as real or integer.
Datatype: (int|real)
Legal values are:
int specifies that value is an integer; if noninteger is given as value of value, then only integer part is used.
real specifies that value is that of a real number.
Default: #IMPLIED
Example
<rate value="65" unit="mile" per="hour" rel="gt"/>
Module Declared in file teifs2; Additional tag set for feature structures: enabled by TEI.fs
Class singleVal
Data Description Empty tag.
May occur within f fvLib vAlt
Declaration
<!ELEMENT rate %om.RO; EMPTY> 
<!ATTLIST rate  
      %a.global;
      value CDATA #REQUIRED
      valueTo CDATA #IMPLIED
      unit CDATA #IMPLIED
      per CDATA #REQUIRED
      rel (eq|ne|gt|ge|lt|le) "eq"
      type (int|real) #IMPLIED>
See further 16.4 Symbolic, Numeric, Measurement, Rate and String Values

Up: 35 Elements