Indicate a condition that must match for a template result to be used. If the condition is true, the corresponding action body is generated; otherwise the result is ignored and no content is generated.
For more information, see Where Elements.
Examples
(example needed)
Attributes
ignorecase- Type: boolean
- Set to
trueto indicate that the case does not matter when making comparisons. Otherwise, the default value isfalse, to indicate that the value should match with the same case.
rel- Type: one of the values below
- The type of comparison to perform.
-
equals- The subject and value must match exactly.
less- The numeric value of the subject must be less than the value
greater- The numeric value of the subject must be greater than the value
before- The string value of subject must come before value alphabetically
after- The string value of subject must come after value alphabetically
startswith- The value of subject must start with the value
endswith- The value of subject must end with the value
contains- The value of subject must contain the value as a substring
subject- Type: string
- The variable or string to compare.
value- Type: string
- The value to compare.
Inherited from XUL element |
Properties
| Inherited Properties |
