如何判断 xslt 中的变量是否大于另一个 [英] How do I tell if a variable in xslt is greater than another
本文介绍了如何判断 xslt 中的变量是否大于另一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这些变量中的每一个都有一个整数值.但由于某种原因,此语法无效:
Each of these variables has an integer value. But this syntax is not valid for some reason:
<xsl:when test="$nextAnswerListItemPos < $nextQuestionStemPos" >
推荐答案
你必须使用 <
而不是 <
和 >
而不是 >
,因为它们是保留字符.
You have to use <
instead of <
and >
instead of >
, because those are reserved characters.
这篇关于如何判断 xslt 中的变量是否大于另一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文