<rate> (rate value) provides a rate value or range of values for a feature.
Attributes:
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:
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:
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 rel=gt value=65 unit=mile per=hour>
Tagsetadditional tag set for feature structures
ClasssingleVal [and indirectly also:] featureVal
Filenameteifs2
Content: Empty tag.
Parentsf fvLib if vAlt vDefault vRange
Children[none]
Declaration
<!ELEMENT rate          - O  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 16.4

Back to index