<xsl:choose> Element
作为判断条件与<xsl:otherwise> 和 <xsl:when>组合使用。
|
<xsl:choose> </xsl:choose> |
标签 信息
|
出现次数 |
Unlimited |
|
父标签 |
xsl:attribute, xsl:comment, xsl:copy, xsl:element, xsl:fallback, xsl:for-each, xsl:if, xsl:message, xsl:otherwise, xsl:param, xsl:processing-instruction, xsl:template, xsl:variable, xsl:when, xsl:with-param, output elements |
|
子标签 |
xsl:otherwise, xsl:when |
备注:
<xsl:when> 作为 <xsl:choose>的子标签用来判断各个条件,使<xsl:when>顺序的从上往下的数序进行判断,知道找到满足条件的分支或者假设找不到正确的分支就走<xsl:otherwise>标签. 如果判断的分支比较简单使用xsl:if标签就可以了。
浙公网安备 33010602011771号