How do I tell if a variable in xslt is greater than another

前端 未结 2 1031
萌比男神i
萌比男神i 2021-02-12 06:59

Each of these variables has an integer value. But this syntax is not valid for some reason:



        
2条回答
  •  甜味超标
    2021-02-12 07:33

    Also, in XSLT 2.0, you can use the operators "gt" (greater than), "lt" (less than), and "eq" (equal). Using these instead of the entities makes your code a bit cleaner.

提交回复
热议问题