On 21 Jun 2013, at 06:51, Kunal Chauhan wrote: > Hello, > > How can I handle this situation other that cast it into number ? > Because in my process I am getting value as well as query at run time. So, I > am not aware of query which will execute. > > That's why I have to bind XQItem only. And I am getting wrong result. >
If you want to compare two values as numbers then you have to convert them to numbers in order to compare them. I can't see why that should be a problem. Michael Kay Saxonica
_______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
