You can compare arithmetic values using one of -eq, -ne, -lt, -le, -gt, or -ge, meaning equal, not equal, less than, less than or equal, greater than, and greater than or equal, respectively.
可以用 -eq、 -ne、-lt、 -le、 -gt 或 -ge 比较算术值,它们分别表示等于、不等于、小于、小于等于、大于、大于等于。
Notice that the codepoints-to-string example also uses two of the new XPath value comparison operators: lt (less than) and gt (greater than).
请注意,codepoints-to-string 的例子还用到了两个新的 XPath 值比较 运算符:lt(小于)和 gt(大于)。
应用推荐