XSLT » xsl:when » test="expression"

The mandatory test attribute is a Boolean expression that is the test condition to be satisfied. A True signifies that the test conditions have been met. A False signifies that the test conditions have not been met.