现在的位置: 首页 > 综合 > 正文

XSLT (2) XSL 的Choose

2013年05月24日 ⁄ 综合 ⁄ 共 232字 ⁄ 字号 评论关闭

choose 语法
<td>
<xsl:choose>
<xsl:when test="State='True'" >
<xsl:text>已调动</xsl:text>

</xsl:when>
<xsl:when test="State='True'">
<xsl:text>正常</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>异常</xsl:text>
</xsl:otherwise>
</xsl:choose>
         

</td>

【上篇】
【下篇】

抱歉!评论已关闭.