<xsl:when test="ceiling(number($variable1) div number($variable2)) = 2">
You can perform the following operations on XSLT variables:
ceiling($variable): returns the smallest integer greater than or equal to $variable
number($variable): casts $variable to a number
div: performs division operation
No comments:
Post a Comment