Hello All,

I run some sample XQuery. and it gives me very strange answer.
Following are my Query with the result.

Query 1 :

 let $a := <a>10000</a>
let $b := <b>100000</b>

return $a >= $b

Output : false


Query 2 :

 let $a := <a>50000</a>
let $b := <b>100000</b>

return $a >= $b

Output : true


Query 3 :

let $a := 50000
let $b := 100000

return $a >= $b

Output : false

I am surprised with output of query 2. when I remove node and make it
value it gives proper output.

can anyone tell me why it's behave lilke this way.

Regards,

-- 
*Kunal Chauhan*
[email protected]
[+918655517141]
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to