<xsl:when>

A <xsl:when> element is part of a <xsl:choose> statement.

<xsl:when 
  test = boolean-expression>
  <!-- Content: template -->
</xsl:when> 
test

The test expression

If the test expression returns a true value, the content of the <xsl:when> element is evaluated and inserted into the result tree.