<c:when
test = expression
value? = expression >
<!-- Content: sequence-constructor -->
</c:when>
Represents a choice in a c:choose or c:switch instruction.
Attributes
test |
The condition to check for the current choice to be selected. |
value |
The value to output. |
In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.
Error Conditions
It is a compilation error if the value
attribute is present when the content of the element is non-empty.