To learn more comparison expressions, see the following URL:
http://www.w3.org/TR/2002/WD-xquery-20020816/#id-comparisons