left up right
XPath Operators

Precedence of operators is (lowest to highest):

Operators Examples
or @xyz or @abc
and @xyz and @abc
= , != @xyz = '325' ; @xyz != '325'
<= , < , >= , > @year < 1990 ; <= 1990 ; 1990 > @year ; 1990 >= 1990
+ , - @year - @birthyear ; @birthyear + @age
* , div , mod @size * 2 ; @size div 2 ; @size mod 3
unary - -@size --@size ---@size
| title | book
location path thought/title
filter expression title [position() > 3]