HTML:标记语言
CSS:样式语言
JavaScript:脚本语言
Web API:编程接口
所有 Web 技术
学习 Web 开发
发现我们的工具
更好地了解 MDN
<xsl:choose> 元素用于定义一组选择中的一个。它的行为类似于过程式语言中的 switch 语句。
<xsl:choose>
<xsl:choose> <xsl:when test="[whatever to test1]"></xsl:when> <xsl:when test="[whatever to test2]"></xsl:when> <xsl:otherwise></xsl:otherwise> [optional] </xsl:choose>
无。
指令,与模板一起出现。它包含一个或多个 <xsl:when> 元素,以及一个可选的最终 <xsl:otherwise> 元素。
<xsl:when>
<xsl:otherwise>
XSLT,第 9.2 节。
支持。