Remark : switch case in XSL
1 2 3 4 5 |
<xsl:if test="expression"> ...some output if the expression is true... </xsl:if> |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<xsl:choose> <xsl:when test="expression"> ... some output ... </xsl:when> <xsl:when test="another expression"> ... some output ... </xsl:when> <xsl:otherwise> ... some output .... </xsl:otherwise> </xsl:choose> |