<choose>

Mechanism for conditional processing. Like the <if> tag but provides the <otherwise> tag that renders whenever none of the <when> tags evaluate as true. The test attribute is the Boolean test to evaluate.

Example

Copy Code
<choose>
<when test="@status='Open'">Open</when>
<when test="@status='Closed'">Closed</when>
<otherwise>Full</otherwise>
</choose>