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

前端 未结 2 1032
萌比男神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.

    0 讨论(0)
  • 2021-02-12 07:47

    You have to use &lt; instead of < and &gt; instead of >, because those are reserved characters.

    0 讨论(0)
提交回复
热议问题