xsl:when element is used within an
xsl:choose element to indicate one
of a number of choices. It takes a mandatory parameter,
test, whose value is a match
pattern. If this is the first xsl:when element within the enclosing xsl:choose whose test
condition matches the current element, the content of the xsl:when element is expanded, otherwise
it is ignored.