c:if

<c:if
  test = boolean_expression >
  <!-- Content: sequence-constructor -->
</c:if>

Defines conditional behavior.

Category
instruction
Permitted parent elements
Any XCST element whose content model is sequence-constructor
Any literal result element

Attributes

test The condition to check for the contents to be processed.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

See Also