Can you put two conditions in an xslt test attribute?

后端 未结 4 936
情深已故
情深已故 2021-01-31 00:53

Is this right for When 4 < 5 and 1 < 2 ?




         


        
4条回答
  •  借酒劲吻你
    2021-01-31 01:30

    From XML.com:

    Like xsl:if instructions, xsl:when elements can have more elaborate contents between their start- and end-tags—for example, literal result elements, xsl:element elements, or even xsl:if and xsl:choose elements—to add to the result tree. Their test expressions can also use all the tricks and operators that the xsl:if element's test attribute can use, such as and, or, and function calls, to build more complex boolean expressions.

提交回复
热议问题