Greater-than/lower-than/greater-or-equal-to/lower-or-equal-to/different-from
The construction greater-than ... assigns a range to a data attribute. The names of the keywords are summmed up in the table below.
Keywords | Meaning | |
---|---|---|
greater-than | < | maxExclusive |
lower-than | > | minExclusive |
greater-or-equal-to | ≤ | maxInclusive |
lower-or-equal-to | ≥ | minInclusive |
different-from | ≠ | minExclusive & maxExclusive |
equal-to | = | . |
Examples
Those examples show how to assign data attributes.
Every adult-person has-age greater-or-equal-to 18.