1=1
1!=1
1=0
1!=0
true()=true()
true()!=true()
true()=false()
false()!=true()
'test'='test'
'test'!='test'
'test2'='test'
'test2'!='test'
false()=0
false()!=0
false()=1
false()!=1
0=true()
0!=true()
1=true()
1!=true()
true()='test'
false()='test'
'test'!=true()
'test'!=false()
'a'=0.0
'a'!=0.0
1
123
1.23
0.123
4.
.4
1.23e3
1.23e-3
1 div 0
-1 div 0
0 div 0
1 div -0
(1 div 0) > 0
(1 div 0) < 0
(-1 div 0) > 0
(-1 div 0) < 0
(0 div 0) > 0
(0 div 0) < 0
(1 div -0) > 0
(1 div -0) < 0
0 div 0 = 0 div 0
0 div 0 != 0 div 0
0 div 0 > 0 div 0
0 div 0 < 0 div 0
0 div 0 >= 0 div 0
0 div 0 <= 0 div 0
1 div 0 = -1 div 0
1 div 0 != -1 div 0
1 div 0 > -1 div 0
1 div 0 < -1 div 0
1 div 0 >= -1 div 0
1 div 0 <= -1 div 0
1 div 0 = 1 div 0
1 div 0 != 1 div 0
1 div 0 > 1 div 0
1 div 0 < 1 div 0
1 div 0 >= -1 div 0
1 div 0 <= -1 div 0
-2 div 0 = -1 div 0
1 div floor(0.1)
1 div floor(-0.1)
1 div floor(-0)
1 div floor(0)
1 div ceiling(0.1)
1 div ceiling(-0.1)
1 div ceiling(-0)
1 div ceiling(0)
1 div round(0.1)
1 div round(-0.1)
1 div round(-0)
1 div round(0)
1 div number('f')
number('f') div 1
1 div (1 div 0)
(1 div 0) div 1
-(1 div 0) div 1
5 mod 2
5 mod -2
-5 mod 2
-5 mod -2
8 mod 3 = 2
string(5)
string(0.5)
string(-0.5)
string(true())
string(false())
concat("titi","toto")
concat("titi","toto","tata")
concat("titi",'toto')
concat("titi",'toto',"tata","last")
starts-with("tititoto","titi")
starts-with("tititoto","to")
contains("tititototata","titi")
contains("tititototata","toto")
contains("tititototata","tata")
contains("tititototata","tita")
substring("12345",2,3)
substring("12345",2)
substring("12345",-4)
substring("12345",3.4)
substring("12345",3.6)
substring("12345",1.5,2.6)
substring("12345",2.2,2.2)
substring("12345",0,3)
substring("12345",-8,10)
substring("12345",4,-10)
substring("12345",0 div 0, 3)
substring("12345",1, 0 div 0)
substring("12345",1 div 0, 3)
substring("12345",3,-1 div 0)
substring("12345",-42, 1 div 0)
substring("12345",-1 div 0, 1 div 0)
substring("12345",-1 div 0,5)
string-length("")
string-length("titi")
0<0
0<=0
0>0
0>=0
0<1
0<=1
0>1
0>=1
1<0
1<=0
1>0
1>=0
1<1
1<=1
1>1
1>=1
'0'<1
'0'<=1
'0'>1
'0'>=1
0<'1.2'
0<='1.2'
0>'1.2'
0>='1.2'
0<'-0.2'
0<='-0.2'
0>'-0.2'
0>='-0.2'
false()<1
false()<=1
0>true()
0>=true()
'a' > 'a'
'a' > 'b'
'b' > 'a'
'a' < 'a'
'a' < 'b'
'b' < 'a'
'a' >= 'a'
'a' >= 'b'
'b' >= 'a'
'a' <= 'a'
'a' <= 'b'
'b' <= 'a'
'a' > '0.0'
'a' < '0.0'
true()
false()
number("1.5")
number('abc')
-number('abc')
floor(0.1)
floor(-0.1)
floor(-0)
floor(0)
floor(5.2)
floor(-5.2)
ceiling(0.1)
ceiling(-0.1)
ceiling(-0)
ceiling(0)
ceiling(5.2)
ceiling(-5.2)
round(0.1)
round(5.2)
round(5.5)
round(5.6)
round(-0.1)
round(-5.2)
round(-5.5)
round(-5.6)
1
1+2
2*3
1+2*3+4
(1+2)*(3+4)
/EXAMPLE
/EXAMPLE/head
/EXAMPLE/chapter[1]
//p
//chapter/image
//p/text()
//p/text()[position()=1]
//p/text()[position()=last()]
(//p/text())[position()=1]
(//p/text())[position()=last()]
id('chapter1')
id('chapter3')
id('chapter1')/p
id('chapter1')//p
id('chapter1')/p[1]
//*[@id="root"]
//*[@id="chapter2"]
//*[@id="chapter5"]
//*[lang('en')]
//*[lang('en-us')]
//*[lang('en-gb')]
//*[lang('fr')]
//*[lang('')]
//ITEM[1]
s
s|p1/s
s|/root/p1/s
/root/p1/s|s
//s
//s|p1
p1|//s
/.
//.
/root//.
//.//./././/.
/root//././/bar//.
/child::EXAMPLE
/child::*
/child::EXAMPLE/child::head
/child::EXAMPLE/child::*
/child::EXAMPLE/child::head/child::title
/child::EXAMPLE/child::head/child::title/child::text()
/child::EXAMPLE/child::head/node()
/descendant::title
/descendant::p/ancestor::chapter
/child::*
/child::EXAMPLE
/child::EXAMPLE/child::head
/child::EXAMPLE/child::*
/child::EXAMPLE/child::head/child::title
/child::EXAMPLE/child::head/child::title/child::text()
/child::EXAMPLE/child::head/node()
/descendant::title
/descendant::p/ancestor::chapter
/following::*
/preceding::*
/child::EXAMPLE/preceding::*
/child::EXAMPLE/following::*
/child::EXAMPLE/child::chapter[3]/preceding::*
/child::EXAMPLE/child::chapter[3]/following::*
/child::EXAMPLE/child::chapter[1]/image/preceding::*
/child::EXAMPLE/child::chapter[1]/image/following::*
