Forum Discussion
SmartBear_Suppo
Alumni
17 years agoHello,
I've taken a look at your XPath, and it seems that you are comparing the values as Strings. Because of this the values are compared alphabetically. You need to convert the values to numerical values before comparing them, so change the XPath to:
number(//ns1:...) > number(//ns1:...)
Regards,
Dain
eviware.com
I've taken a look at your XPath, and it seems that you are comparing the values as Strings. Because of this the values are compared alphabetically. You need to convert the values to numerical values before comparing them, so change the XPath to:
number(//ns1:...) > number(//ns1:...)
Regards,
Dain
eviware.com