xpath query conditional test comparing 2 numeric values



can someone explain to me why this condition return false in this following xpath query


xml




<?xml version="1.0" encoding="UTF-8"?>
<a>ha</a>


xpath query


count(//a) return 1.


but


test="(count(//a) > 0)" return false?


Thank you


No comments:

Post a Comment