ZVON > References > XSLT Reference
Go to standard

XPath operator: boolean object >= object

Standard excerpt:

If both objects to be compared are node-sets, then the comparison will be true if and only if there is a node in the first node-set and a node in the second node-set such that the result of performing the comparison on the string-values of the two nodes is true. If one object to be compared is a node-set and the other is a number, then the comparison will be true if and only if there is a node in the node-set such that the result of performing the comparison on the number to be compared and on the result of converting the string-value of that node to a number using the number function is true. If one object to be compared is a node-set and the other is a string, then the comparison will be true if and only if there is a node in the node-set such that the result of performing the comparison on the string-value of the node and the other string is true. If one object to be compared is a node-set and the other is a boolean, then the comparison will be true if and only if the result of performing the comparison on the boolean and on the result of converting the node-set to a boolean using the boolean function is true.

When neither object to be compared is a node-set and the operator is <=, <, >= or >, then the objects are compared by converting both objects to numbers and comparing the numbers according to IEEE 754. The >= comparison will be true if and only if the first number is greater than or equal to the second number.

Precedence:

Operators with greater precedence: *(multiplication) |(union) mod div + - -(unary minus)
Operators with equal precedence: <= < >
Operators with less precedence: = != or and

Interactive xlab: [xsl:value-of] [xsl:template]