When the XSLT processor processes an xsl:choose
element, it starts by evaluating the expression in the first xsl:when
element. The XSLT processor converts the result to a Boolean value. If the result is true
, the XSLT processor instantiates the template contained by that xsl:when
element. If the result is false
, the XSLT processor evaluates the expression in the next xsl:when
element.