Can you put two conditions in an xslt test attribute? December 11, 2022 by Tarik Not quite, the AND has to be lower-case. <xsl:when test="4 < 5 and 1 < 2"> <!-- do something --> </xsl:when>