Created
August 5, 2014 11:13
-
-
Save dol/f27439575c5bd5bf6319 to your computer and use it in GitHub Desktop.
XPath test suite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ | |
//@* | |
//* | |
/.. | |
. | |
./* | |
.. | |
../.. | |
'' | |
'+' | |
@* | |
@*/. | |
* | |
*|@* | |
0 = -0 | |
0 > -0 | |
0000000000 | |
-.0000000000000000000000000000000000000000123456789 | |
.0000000000000000000000000000000000000000123456789 | |
-.000000000000000000000000000000000000000123456789 | |
.000000000000000000000000000000000000000123456789 | |
-.00000000000000000000000000000000000000123456789 | |
.00000000000000000000000000000000000000123456789 | |
-.0000000000000000000000000000000000000123456789 | |
.0000000000000000000000000000000000000123456789 | |
-.000000000000000000000000000000000000123456789 | |
.000000000000000000000000000000000000123456789 | |
-.00000000000000000000000000000000000123456789 | |
.00000000000000000000000000000000000123456789 | |
-.0000000000000000000000000000000000123456789 | |
.0000000000000000000000000000000000123456789 | |
-.000000000000000000000000000000000123456789 | |
.000000000000000000000000000000000123456789 | |
-.00000000000000000000000000000000123456789 | |
.00000000000000000000000000000000123456789 | |
-.0000000000000000000000000000000123456789 | |
.0000000000000000000000000000000123456789 | |
-.000000000000000000000000000000123456789 | |
.000000000000000000000000000000123456789 | |
-.00000000000000000000000000000123456789 | |
.00000000000000000000000000000123456789 | |
-.0000000000000000000000000000123456789 | |
.0000000000000000000000000000123456789 | |
-.000000000000000000000000000123456789 | |
.000000000000000000000000000123456789 | |
-.00000000000000000000000000123456789 | |
.00000000000000000000000000123456789 | |
-.0000000000000000000000000123456789 | |
.0000000000000000000000000123456789 | |
-.000000000000000000000000123456789 | |
.000000000000000000000000123456789 | |
-.00000000000000000000000123456789 | |
.00000000000000000000000123456789 | |
-.0000000000000000000000123456789 | |
.0000000000000000000000123456789 | |
-.000000000000000000000123456789 | |
.000000000000000000000123456789 | |
-.00000000000000000000123456789 | |
.00000000000000000000123456789 | |
-.0000000000000000000123456789 | |
.0000000000000000000123456789 | |
-.000000000000000000123456789 | |
.000000000000000000123456789 | |
-.00000000000000000123456789 | |
.00000000000000000123456789 | |
-.0000000000000000123456789 | |
.0000000000000000123456789 | |
-.000000000000000123456789 | |
.000000000000000123456789 | |
-.00000000000000123456789 | |
.00000000000000123456789 | |
-.0000000000000123456789 | |
.0000000000000123456789 | |
-.000000000000123456789 | |
.000000000000123456789 | |
-.00000000000123456789 | |
.00000000000123456789 | |
-.0000000000123456789 | |
.0000000000123456789 | |
-.000000000123456789 | |
.000000000123456789 | |
-.00000000123456789 | |
.00000000123456789 | |
-.0000000123456789 | |
.0000000123456789 | |
-.000000123456789 | |
.000000123456789 | |
-.00000123456789 | |
.00000123456789 | |
-.0000123456789 | |
.0000123456789 | |
-.000123456789 | |
.000123456789 | |
'001' = 1 | |
-.00123456789 | |
.00123456789 | |
-.01 | |
.01 | |
-.012 | |
.012 | |
-.0123 | |
.0123 | |
-.01234 | |
.01234 | |
-.012345 | |
.012345 | |
-.0123456 | |
.0123456 | |
-.01234567 | |
.01234567 | |
-.012345678 | |
.012345678 | |
-.0123456789 | |
.0123456789 | |
0 div 0 | |
0 div 0 >= 0 | |
0 div 0 < 0 | |
0=false() | |
0 or '' | |
'0'=true() | |
1 | |
-1 | |
-.1 | |
.1 | |
*[1] | |
10 | |
1 = '001' | |
100-9-7-4-17-18-5 | |
100-n6 -4-n1 -1-11 | |
-.10123456789 | |
.10123456789 | |
-.101234567892 | |
.101234567892 | |
-.1012345678923 | |
.1012345678923 | |
-.10123456789234 | |
.10123456789234 | |
-.101234567892345 | |
.101234567892345 | |
-.1012345678923456 | |
.1012345678923456 | |
-.10123456789234567 | |
.10123456789234567 | |
-.101234567892345678 | |
.101234567892345678 | |
-.1012345678923456789 | |
.1012345678923456789 | |
-.10123456789234567893 | |
.10123456789234567893 | |
10+5+25+20+15+50+35+40 | |
10+7 | |
1=1 | |
1>1 | |
1!=1 | |
1 = 1.00 | |
1 != 1.00 | |
12 | |
-12 | |
1=2 | |
1>2 | |
1>=2 | |
1-2 | |
1!=2 | |
123 | |
-123 | |
1234 | |
-1234 | |
12345 | |
-12345 | |
123456 | |
-123456 | |
1234567 | |
-1234567 | |
12345678 | |
-12345678 | |
123456789 | |
-123456789 | |
-.123456789 | |
.123456789 | |
1234567890 | |
-1234567890 | |
12345678901 | |
-12345678901 | |
123456789012 | |
-123456789012 | |
1234567890123 | |
-1234567890123 | |
12345678901234 | |
-12345678901234 | |
123456789012345 | |
-123456789012345 | |
1234567890123456 | |
-1234567890123456 | |
12345678901234567 | |
-12345678901234567 | |
123456789012345678 | |
-123456789012345678 | |
1<1 | |
1<=1 | |
1<2 | |
1<=2 | |
16-div | |
1.9999999 < 2 | |
1.9999999 < 2.0 | |
'1' and '0' | |
1 div -0 = 1 div 0 | |
1 div -0 = 2 div -0 | |
2 | |
@*[2] | |
20 | |
'200' | |
2.0000001 < 2.0 | |
'2'>'1' | |
2>1 | |
2>=1 | |
2>=2 | |
2*3 | |
(24 div 3 +2) div (40 div 8 -3) | |
25-* | |
256 | |
2<1 | |
2<=1 | |
2 div number('xxx') | |
2 < 2.0 | |
2 mod number('xxx') | |
2+n5+7+n3 | |
(2 + number('xxx')) | |
2 - number('xxx') | |
2 * -number('xxx') | |
3 | |
* +3 | |
*[3] | |
3-1 | |
32 | |
3*2+5*4-4*2-1 | |
3+6 | |
4 | |
(* - 4)** | |
*[4] | |
48 mod 17 - 2 mod 9 + 13 mod 5 | |
(* - 4) div 2 | |
5 | |
'....5....|' | |
@*-5 | |
5.*. | |
5.+* | |
54 div* | |
555 | |
56 mod round(n5*2+1.444) - n6 mod 4 + 7 mod n4 | |
5 mod 2 | |
(5 mod 2 = 1) and (5 mod -2 = 1) and (-5 mod 2 = -1) and (-5 mod -2 = -1) | |
6 | |
.+6 | |
60 | |
' 6 '*div | |
' 6 ' div 2 | |
6 div 2 | |
6 div -2 | |
7 | |
-7 --3 | |
7 - -3 | |
7+-3 | |
8 | |
80 div n2 + 12 div 2 - n4 div n2 | |
9 | |
9876543210 | |
-9.87654321012345 | |
-98.7654321012345 | |
-987.654321012345 | |
-9876.54321012345 | |
-98765.4321012345 | |
-987654.321012345 | |
-9876543.21012345 | |
-98765432.1012345 | |
-987654321.012345 | |
-9876543210.12345 | |
-98765432101.2345 | |
-987654321012.345 | |
-9876543210123.45 | |
-98765432101234.5 | |
9.87654321012345 | |
98.7654321012345 | |
987.654321012345 | |
9876.54321012345 | |
98765.4321012345 | |
987654.321012345 | |
9876543.21012345 | |
98765432.1012345 | |
987654321.012345 | |
9876543210.12345 | |
98765432101.2345 | |
987654321012.345 | |
9876543210123.45 | |
98765432101234.5 | |
a | |
.//a | |
A | |
a[0] | |
a[0 < true()] | |
a[1] | |
a[3] | |
a[3.0='3.0'] | |
a[3-2] | |
a['3.5' < 4] | |
a[3=following-sibling::*] | |
a[4] | |
a[*=9] | |
a=b | |
../../a/b[1] | |
'ABC' | |
'abcdæfgh' | |
'abcdèfgh' | |
'ace' != 'abc' | |
'ace' != 'ace' | |
a/child::comment()[last()] | |
a/child::*[last()] | |
a/child::node()[last()] | |
a/child::text()[last()] | |
a/comment() | |
a/descendant::*[last()] | |
a[descendant::*='target'] | |
a[descendant::*!='target'] | |
a[div=9] | |
a[false()!=following-sibling::*] | |
affiliation | |
a[following-sibling::*=3] | |
a[following-sibling::*=descendant::*] | |
a[following-sibling::*!=false()] | |
a[following-sibling::*=true()] | |
a/*[last()] | |
alpha | |
alternate/name/first | |
alternate/name/last | |
//ancestor::* | |
'ancestor::*' | |
@*/ancestor::* | |
ancestor::* | |
ancestor::*[3] | |
ancestor::*[count(child::*) > 1]/*[not(. = current()/ancestor-or-self::*)] | |
(((ancestor::foo)[1])/@att1) | |
((ancestor::foo))[1]/@att1 | |
(ancestor::foo)[1]/@att1 | |
(ancestor::foo[1])/@att1 | |
ancestor::foo[1]/@att1 | |
@*/ancestor::*/near-north/*[4]/@*/following::node() | |
@*/ancestor::*/near-north/*[4]/@*/preceding::* | |
@*/ancestor::*/near-north/*[4]/@*/preceding::comment() | |
@*/ancestor::*/near-north/*[4]/@*/preceding::node() | |
@*/ancestor::*/near-north/*[4]/@*/preceding::processing-instruction() | |
@*/ancestor::*/near-north/*[4]/@*/preceding::text() | |
ancestor::node() | |
'ancestor-or-self::*' | |
@*/ancestor-or-self::* | |
ancestor-or-self::* | |
ancestor-or-self::*[1] | |
ancestor-or-self::*[1]/text() | |
ancestor-or-self::*[2]/text() | |
ancestor-or-self::*[3]/text() | |
ancestor-or-self::*[4]/text() | |
ancestor-or-self::*[5]/text() | |
ancestor-or-self::*[6]/text() | |
ancestor-or-self::*[7]/text() | |
(ancestor-or-self::*)[@att1][1]/@att1 | |
ancestor-or-self::*[@att1][1]/@att1 | |
(ancestor-or-self::*/@att1)[last()] | |
(ancestor-or-self::*)/@att1[last()] | |
ancestor-or-self::*/@att1[last()] | |
ancestor-or-self::node() | |
ancestor-or-self::sub | ancestor-or-self::sub-sub | |
ancestor-or-self::*[@xml:lang]/@xml:lang | |
((ancestor::*|self::*)/@att1)[last()] | |
(ancestor::*|self::*)/@att1[last()] | |
ancestor::sub1|ancestor::sub2 | |
a[not(@*)] | |
a[not(('target'=descendant::*) or @squish)] | |
a[number('3')] | |
a[position()=1] | |
a[position()>=2] | |
a[position()>2] | |
a[position()!=2] | |
a[position()=3] | |
a[position()=4] | |
a[position()=$first] | |
a[position() <=3] | |
a[position()<3] | |
'Apply-templates' | |
a-set | |
a-set/a/text() | |
a[(@squeesh or @squish) and @squash] | |
a[@squeesh or (@squish and @squash)] | |
a[@squeesh or @squish and @squash] | |
a['target'=descendant::*] | |
a['target'!=descendant::*] | |
a[('target'=descendant::*) or @squish] | |
./a/text() | |
a/text() | |
a[$third] | |
a[true()=4] | |
a[true()=following-sibling::*] | |
a[true()='stringwithchars'] | |
@att1 | |
@attr | |
attribute :: * | |
attribute::* | |
@attribute1 | |
attribute::*[2] | |
attribute::center-attr-2 | |
attribute :: div | |
attribute*(div - 4) | |
av//* | |
av//h | |
av//j | |
avj/bool/* | |
avj/good/* | |
avj//k | |
avj/none | |
a/x | |
b | |
//b | |
'b' | |
bar | |
bar[@a='1' and @b='1'] | |
bar[(@a='1' and @b='1') or (@c='1' and @d='1')] | |
bar[@a='1' and (@b='1' or @c='1') and @d='1'] | |
bar[@a='1' and @b='1' or @c='1' and @d='1'] | |
bar[(@a='1' or @b='1') and @c='1'] | |
bar[(@a='1' or @b='1') and (@c='1' or @d='1')] | |
bar[@a='1' or (@b='1' and @c='1') or @d='1'] | |
bar[@a='1' or @b='1' and @c='1' or @d='1'] | |
bar[@a='1' or @b='1' or @c='1'] | |
base//description | |
'baseParam1Data' | |
'baseSubParam0Data' | |
//baz | |
b/c | |
birthday | |
body | |
bonus | |
boolean('') | |
boolean(-0) | |
boolean('0') | |
boolean(0) | |
boolean(0 div 0) | |
boolean('1') | |
boolean(1) | |
boolean(1 div 0) | |
boolean(doc) | |
boolean(foo) | |
'bug' | |
c | |
'Call-template' | |
c/b | |
ceiling(0.0) | |
ceiling(1)=1 | |
ceiling(1.1)=2 | |
ceiling(-1.5)=-1 | |
ceiling(1.54) | |
ceiling(2.999999) | |
ceiling(n0) | |
ceiling(n1) | |
ceiling(n2) | |
ceiling(number('xxx')) | |
//center | |
.//center | |
center//* | |
@center-attr-2 | |
//center/@center-attr-1 | |
//center/@center-attr-3 | |
center//child::* | |
center/child::* | |
//center/comment() | |
//center/comment()[1] | |
center//descendant::* | |
center/descendant::* | |
//center//processing-instruction('b-pi') | |
//center/text()[1] | |
chapter | |
chapter/descendant::footnote[6] | |
chapter//footnote[1] | |
(chapter//footnote)[2] | |
chapter//footnote[2] | |
chapter/note | |
child | |
//child | |
'child::*' | |
@*/child::* | |
child::* | |
Child | |
//child1 | |
child1[child::child2] | |
child::*[2] | |
(child::chapter/descendant-or-self::node())/footnote[2] | |
child::*/child::* | |
child::*/descendant::* | |
child::near-south-west | |
child::node() | |
child :: sub | |
child::sub | |
chooser | |
CLASSIFICATION | |
//comment() | |
.//comment() | |
./comment() | |
comment () | |
comment() | |
@*|comment()|processing-instruction()|text()|* | |
*|@*|comment()|processing-instruction()|text() | |
*|@*|comment()|text() | |
concat("a","b","c","d","ef") | |
concat("bc", string(23)) | |
concat("cd", 34) | |
concat("cd", "34") | |
concat(a, 34) | |
concat(a, b) | |
concat(a, b, c, d, e) | |
concat(/*, /*[@attr='whatsup']) | |
concat(false(),'ly') | |
concat(left,right,orig) | |
concat(team[1]/@score, '-', team[2]/@score) | |
concat(team[1], ' versus ', team[2]) | |
'condition false' | |
'condition true' | |
contains('','') | |
contains(., '&') | |
contains('ab', 'abc') | |
contains('abc', '') | |
contains('abc', 'bc') | |
contains('abc', 'bcd') | |
contains(concat(.,'BC'),concat('A','B','C')) | |
contains(., '°') | |
contains(doc/@attr, 'amwi') | |
contains(doc/@attr, 'TEST') | |
contains(doc, 'CYCL') | |
contains(doc, 'TEST') | |
contains('ENCYCLOPEDIA', 'CYCL') | |
contains('ENCYCLOPEDIA', 'TEST') | |
contains('foo','o') | |
contains(main,sub) | |
contains('true()', 'e') | |
'correct' | |
count(//@*) | |
count(.//@*) | |
count(*) | |
count(a/@*) | |
count(a/attribute::*) | |
count(a/comment()) | |
count(a[@ex='']) | |
count(a[@ex!='']) | |
count(a[@ex]) | |
count(alpha/*[last()][name()='z']) | |
//*[count(ancestor::*) >= 2]/../parent::* | |
count(ancestor-or-self::*/@att1) | |
count(ancestor-or-self::node()) | |
count(a[not(@ex='')]) | |
count(a[not(@ex)]) | |
count(a[not(string-length(@ex)=0)]) | |
count(a-set/a/text()) | |
count(a[string-length(@ex)=0]) | |
count(a[string-length(@ex) > 0]) | |
count(a/text()) | |
count(a[@why='value']) | |
count(a[@why!='value']) | |
count(.//comment()) | |
count(descendant::*) | |
count(descendant-or-self::*) | |
count(descendant-or-self::*/@att1) | |
count(descendant-or-self::*/namespace::*) | |
count(div) | |
count(/doc/alpha[last()]/h) | |
count(/doc/chapter/note) | |
count(following::node()|following::*/@*) | |
count(following-sibling::*) | |
//*[count(./*/*) > 0] | |
count(id('c')) | |
count(id('d b c k')) | |
count(id('k')) | |
count(namespace::*[name(.)!='xml']) | |
count(preceding::text()) | |
count(//section//@*) | |
count(section[1]//@*) | |
count(section[1]//@title) | |
count(section[2]//@*) | |
count(section[2]//@title) | |
count(section[3]//@*) | |
count(section[3]//@title) | |
count(//section//@title) | |
count(//@title) | |
count(.//@title) | |
count(//tr) | |
count(//tr[count(./td) = 3]) | |
count(*/z[2]) | |
critter | |
customers/customer | |
//c/@x | |
'CY' | |
d | |
dat | |
'Data' | |
/data/*/datum/@value | |
/data/point | |
date | |
day | |
'default' | |
/descendant::* | |
'descendant::*' | |
descendant::* | |
descendant::*[3] | |
descendant::*/child::* | |
descendant::child1|descendant::child2 | |
descendant::far-south | |
@*/descendant::node() | |
'descendant-or-self::*' | |
descendant-or-self::* | |
descendant-or-self::*[3] | |
(descendant-or-self::*/@att1)[last()] | |
descendant-or-self::*/@att1[last()] | |
descendant-or-self::center | |
descendant-or-self::far-south | |
descendant-or-self::*[last()]/@att1 | |
@*/descendant-or-self::node() | |
descendant-or-self::sub1|descendant-or-self::sub2 | |
descendant::*[string-length(name(.))=1] | |
'descending' | |
dis | |
display | |
div +3 | |
@div -5 | |
@div - 5 | |
@div-5 | |
div/@attrib div mod/@attrib | |
div/@attrib mod mod/@attrib | |
div div mod | |
div mod mod | |
div/para[lang('en')] | |
doc | |
doc/@* | |
doc/* | |
doc1 | |
/doc/a | |
doc/a | |
doc//a3[../@pick='yes'] | |
/doc/a/b/@attr | |
doc/alpha | |
doc/a//text() | |
doc/av | |
doc/av//* | |
/doc/avj | |
/doc/b | |
/doc/b/bb/bbb | |
doc/body/para | |
doc/c/d/e | |
doc/comment() | |
/doc/critter[@type='cat'] | |
/doc/datum/@value | |
doc/element1[2]/child1[last()] | |
/doc/foo | |
doc/foo | |
doc/memo | |
/doc/mid/inner | |
/doc/north | |
/doc/num | |
doc/num | |
doc/OL//tag | |
doc/p | |
doc//Q | |
/docs/a | |
docs/a/node() | |
docs//d | |
docs//d/text() | |
/doc/str | |
/doc/*[@test='true'] | |
'duh' | |
e | |
element | |
'en' | |
'error' | |
'error1!' | |
'error2!' | |
'error3!' | |
'error4!' | |
'error5!' | |
'error6!' | |
expense-report/total | |
.//f | |
fa | |
'fallback' | |
false() | |
false()='' | |
false()=0 | |
false() and 1 div 0 | |
false() and false() | |
false() and true() | |
false()!=false() | |
false() or false() | |
false() or true() | |
false()!=true() | |
fa/../mi | Aflat/natural/la | Csharp//* | /doc/do | *//ti | |
/far-north/north/near-north/center/ancestor-or-self::* | |
file | |
'first' | |
@flag | |
floor(0.0) | |
floor(1)=1 | |
floor(-1.5) | |
floor(-1.5)=-2 | |
floor(1.9) | |
floor(1.9)=1 | |
floor(2.999999) | |
floor(n0) | |
floor(n1) | |
floor(n2) | |
floor(number('xxx')) | |
'following::*' | |
@*/following::* | |
following::* | |
following::*[4] | |
following::*[4]/../*[2] | |
@*/following::comment() | |
following::out-yonder-east | |
@*/following::processing-instruction() | |
'following-sibling::*' | |
@*/following-sibling::* | |
following-sibling::* | |
following-sibling::*[1] | |
following-sibling::*[2] | |
following-sibling::*[2]/preceding-sibling::* | |
following-sibling::*[2]/preceding-sibling::*[4] | |
following-sibling::*[2]/preceding-sibling::*[4]/following-sibling::*[5]/preceding-sibling::*[4]/preceding-sibling::*[2] | |
following-sibling::ch[current()] | |
(following-sibling::ch[current()])[1] | |
following-sibling::*[count(current())] | |
following-sibling::east | |
following-sibling::node() | |
following-sibling::*/preceding-sibling::* | |
@*/following::text() | |
foo | |
..//foo | |
FOO | |
'foo' and 'fop' | |
foo/a/num/@val | |
foo[(bar[2][(baz[2])='goodbye'])] | |
foo[(bar[2])='this'] | |
foo/@test | |
/foo/*/test/text() | |
'Gadzookz' | |
'global' | |
grandchild | |
/*/@group | |
@group | |
growth | |
@height*@width | |
'H' != ' H' | |
'H' != 'H ' | |
human | |
@h | @w | |
./@id | |
../@id | |
@id | |
id('c a d') | |
id('c')/@id | |
id('d b c') | |
id('id0')/a/b | |
id('id0')/c/c/a | |
id('id10')/a | |
id('id13') | |
id('id2')/a | id('id5') | id('id15')/a | |
id('id4') | |
id('id8')/b/b | |
id('id9') | |
id(main/b) | |
id(main/@list) | |
id('nomatch')/@id | |
//inc/node4 | |
'incorrect' | |
'In Import: Testing ' | |
'In Include: Testing ' | |
inner | |
//inner/following::node() | |
//inner/preceding::node() | |
item | |
item[1][last()] | |
item[last()] | |
item[last()-1] | |
item[last()-1][1] | |
item[last()-1][last()] | |
item[last()][last()] | |
item[$n] | |
item[$n1] | |
item[$n2] | |
item[$n3] | |
item[$n4] | |
item[$n5] | |
item[$n6] | |
item[$n7] | |
item[$n8] | |
item[$n9] | |
item[position()=$n] | |
//item[@type=current()/@name] | |
j[@l='12'] = j[@l='17'] | |
j[@l='12'] != j[@l='17'] | |
j[@l='12'] = j[@w='33'] | |
j[@l='12'] != j[@w='33'] | |
j[@l='12'] = j[@w='45'] | |
j[@l='12'] != j[@w='45'] | |
j[@l='16'] != j[@w='78'] | |
@key | |
keyword[@tag='sector'] | |
keyword[@tag='ticker'] | |
*//la | //Bflat | re | |
lang('en') | |
*[last()] | |
last-bad | |
*[last()=position()] | |
'left' | |
letter | |
@level | |
'level0' | |
'level1' | |
'level3' | |
//Level3 | |
link | |
'local' | |
local-name(.) | |
local-name() | |
local-name(a/@at1) | |
*[local-name()='bar'] | |
local-name(namespace::*[1]) | |
local-name(namespace::*[name(.)!='xml']) | |
local-name(namespace::*[string()='http://www.w3.org/1999/XMLSchema-instance']) | |
local-name(namespace::*[string()='test']) | |
'lower-first' | |
m | |
main/a/descendant-or-self::*/@* | |
main/size[@for='d'] | |
'main stylesheet, should have highest precedence' | |
mark | |
@mark | |
//match | |
'mdocs15a.xml' | |
member | |
middle | |
mi | do | fa | re | |
miles-earned | |
mi[@mi2='mi2'] | do | fa/so/@so | fa | mi/@* | re | fa/@fa | do/@do | |
month | |
n | |
n0 div n1 div n2 div n3 | |
n0 div n1 div n2 div n3 div n4 | |
n0 div n1 div n2 div n3 div n4 div n5 | |
n1/@attrib div n2/@attrib | |
n1/@attrib mod n2/@attrib | |
(n1/@attrib)*(n2/@attrib) | |
(n1/@attrib)+(n2/@attrib) | |
n1/@attrib + n2/@attrib | |
n1 div n2 | |
n1 mod n2 | |
-(n1|n2) | |
n1*n2 | |
n1+n2 | |
n1*n2*n3*n4 | |
(n1*n2*n3*n4*n5*n6)div n7 div n8 div n9 div n10 | |
n1*n2*n3*n4*n5*n6*n7*n8*n9*n10 | |
-(n-2/@attrib) - -(n-1/@attrib) | |
-n-2/@attrib --n-1/@attrib | |
-n-2 --n-1 | |
n-2 - -n-1 | |
n-2 - n-1 | |
n-2+-n-1 | |
((((((n3+5)*(3)+(((n2)+2)*(n1 - 6)))-(n4 - n2))+(-(4-6))))) | |
n4 | |
n6*5-8*n2+5*2 | |
name | |
./@name | |
@name | |
name(..) | |
name(.) | |
name() | |
name(*) | |
./Name | |
name(a/@at1) | |
name(ancestor::*[1]) | |
name(ancestor::*[2]) | |
name(ancestor::*[3]) | |
name(/descendant::near-north) | |
name(descendant::near-north/descendant::far-west) | |
name(descendant::near-north/descendant::far-west/descendant-or-self::far-west) | |
name(/descendant::near-north/descendant-or-self::near-north) | |
name(descendant::near-north/descendant-or-self::near-north) | |
name(descendant::near-north/descendant-or-self::near-north/child::far-west) | |
name(descendant::near-north/descendant-or-self::near-north/descendant-or-self::near-north) | |
name(descendant::node()/descendant::far-west) | |
name(descendant::node()/descendant::node()/descendant-or-self::far-west) | |
name(/descendant::node()/descendant-or-self::near-north) | |
name(descendant::node()/descendant-or-self::near-north) | |
name(descendant::node()/descendant-or-self::node()/child::far-west) | |
name(descendant::node()/descendant-or-self::node()/descendant-or-self::near-north) | |
name(/descendant-or-self::node()/child::near-north) | |
name(descendant-or-self::node()/child::near-north) | |
name(descendant-or-self::node()/child::node()/child::far-west) | |
name(descendant-or-self::node()/child::node()/descendant-or-self::near-north) | |
name(descendant-or-self::node()/descendant::near-north) | |
name(descendant-or-self::node()/descendant::node()/child::far-west) | |
name(descendant-or-self::node()/descendant::node()/descendant-or-self::near-north) | |
name(descendant-or-self::node()/descendant-or-self::node()/child::near-north) | |
name(descendant-or-self::node()/descendant-or-self::node()/descendant-or-self::north) | |
name(/descendant-or-self::node()/descendant-or-self::north) | |
name(descendant-or-self::node()/descendant-or-self::north) | |
name(/descendant-or-self::north) | |
name(/descendant-or-self::north/child::near-north) | |
name(descendant-or-self::north/child::near-north) | |
name(descendant-or-self::north/child::near-north/child::far-west) | |
name(descendant-or-self::north/child::near-north/descendant-or-self::near-north) | |
name(descendant-or-self::north/descendant::near-north) | |
name(descendant-or-self::north/descendant::near-north/child::far-west) | |
name(descendant-or-self::north/descendant::near-north/descendant-or-self::near-north) | |
name(/descendant-or-self::north/descendant-or-self::north) | |
name(descendant-or-self::north/descendant-or-self::north) | |
name(descendant-or-self::north/descendant-or-self::north/child::near-north) | |
name(descendant-or-self::north/descendant-or-self::north/descendant-or-self::north) | |
name/first | |
Name/@First | |
name(following::*[last()]) | |
name(following-sibling::*[last()]) | |
name/last | |
name/last | primary/name/last | |
name(namespace::*[1]) | |
name(namespace::*[name(.)!='xml']) | |
./*[name(.) = 'never'] | |
name(preceding::*[last()]) | |
name(preceding-sibling::*[last()]) | |
name(self::node()/descendant::near-north) | |
name(self::node()/descendant::near-north/child::far-west) | |
name(self::node()/descendant::near-north/descendant-or-self::far-west) | |
name(self::node()/descendant::node()/child::far-west) | |
name(self::node()/descendant::node()/descendant-or-self::far-west) | |
name(self::node()/descendant-or-self::node()/child::near-north) | |
name(self::node()/descendant-or-self::node()/descendant-or-self::north) | |
name(self::node()/descendant-or-self::north) | |
name(self::node()/descendant-or-self::north/child::near-north) | |
name(self::node()/descendant-or-self::north/descendant-or-self::north) | |
namespace::* | |
namespace::* | attribute::* | |
namespace::bdd | |
namespace::node() | |
namespace::ped | |
namespace-uri(.) | |
namespace-uri() | |
namespace-uri(*) | |
namespace-uri(a/@at1) | |
namespace-uri(bogus) | |
namespace-uri(namespace::*[name(.)!='xml']) | |
namespace-uri(namespace::*[string()='http://www.w3.org/1999/XMLSchema-instance']) | |
namespace-uri(namespace::*[string()='test']) | |
namespace-uri(x) | |
//near-north | |
.//near-south/preceding-sibling::*|following-sibling::east/ancestor-or-self::*[2] | |
@net | |
node | |
../node() | |
@*|node() | |
node() | |
node()|@* | |
@*|node()|comment()|processing-instruction() | |
@*|node()|text() | |
normalize-space(.) | |
normalize-space() | |
normalize-space(a) | |
normalize-space(text()) | |
normalize-space(url) | |
north/dup2 | north/dup1 | north/* | |
//north/dup2 | south/preceding-sibling::*[4]/* | north/dup1 | north/* | |
north/* | north/dup1 | north/dup2 | |
not('') | |
not('0') | |
note | |
note[1] | |
not(false()) | |
not(false() = false()) | |
*[not(@test)][last()] | |
*[not(@test)][last()=position()] | |
not(true()) | |
not(true() = false()) | |
num | |
@num | |
'number' | |
number('') | |
number() | |
number(0.0001 * 4) | |
number(0.109375 * 16) | |
number(1.75) | |
(number(1.75) = (0.109375 * 16)) | |
(number(1.75) = (7 div 4)) | |
number(2) | |
number('3') | |
number(4 div 10000) | |
number(7 div 4) | |
number('abc') | |
number(false())=0 | |
number(foo) | |
number(k) | |
(number(k) = (0.0001 * 4)) | |
(number(k) = (4 div 10000)) | |
number(n1) | |
number(string(1.0))=1 | |
number(true())=1 | |
number('xxx')=0 | |
number('xxx') - 10 | |
number('xxx') div 3 | |
number('xxx') mod 3 | |
number('xxx')=number('xxx') | |
'okay' | |
OL | |
//OL | |
ol/item | |
OL/OL/LI | |
//OL[@real='yes'] | |
OL//tag | |
order | |
@ordering | |
p | |
*/p | |
/page/contents/avail/hotel | |
/para/font[@color='green'] | |
para[@id='1' and lang('en')] | |
para[@id='3' and lang('en')] | |
para[@id='4' and lang('en')] | |
//para[lang('en')] | |
'parent::*' | |
@*/parent::* | |
parent::* | |
parent::*[1] | |
parent::foo | |
parent::near-north | |
parent::node() | |
person | |
@person | |
Personal_Information/Age | |
@pos | |
pos-bad | |
*[position()=1] | |
*[position()=3] | |
*[position()=4] | |
'preceding::*' | |
@*/preceding::* | |
preceding::* | |
preceding::*[2]/../descendant::*[10]/following-sibling::east | |
preceding::*[2]/../following::* | |
preceding::*[4] | |
(preceding::foo)[1]/@att1 | |
preceding::foo[1]/@att1 | |
preceding::out-yonder-west | |
'preceding-sibling::*' | |
preceding-sibling::* | |
preceding-sibling::*[2] | |
preceding-sibling::*[2]/following-sibling::* | |
preceding-sibling::*[2]/following-sibling::*[4] | |
preceding-sibling::*[2]/following-sibling::*[4]/preceding-sibling::*[5]/following-sibling::*[4]/following-sibling::*[2] | |
preceding-sibling::child1|//child3 | |
preceding-sibling::child1|following-sibling::child3 | |
preceding-sibling::*|following-sibling::* | |
preceding-sibling::*/following-sibling::* | |
(preceding-sibling::*|following-sibling::*)/ancestor::*[last()]/*[last()] | |
(preceding-sibling::foo)[1]/@att1 | |
preceding-sibling::foo[1]/@att1 | |
@*/preceding-sibling::node() | |
preceding-sibling::west | |
preceding::text() | |
preceding::text()[$this] | |
primary/name/first | |
primary/name/last | |
//processing-instruction() | |
./processing-instruction('*') | |
./processing-instruction() | |
processing-instruction() | |
./processing-instruction()[2] | |
./processing-instruction('a-pi') | |
//processing-instruction('b-pi') | |
'pvar1 default data' | |
'pvar2 default data' | |
'"eos' | |
r | |
'red' | |
@repeat | |
/report/month | |
revenue | |
'root' | |
/root/base | |
root/x | |
round(0.0) | |
round(-1.1)=-1 | |
round(1.1)=1 | |
round(1.24) | |
round(-1.5) | |
round(1.5)=2 | |
round(-1.9)=-2 | |
round(1.9)=2 | |
round(2.5) | |
round(-2.5)=-2 | |
round(2.999999) | |
round(n0) | |
round(n1) | |
round(n2) | |
round(number('xxx')) | |
row | |
@s | |
sales/division | |
//section/title | |
(section//@title)[7] | |
self::* | |
self::*[1] | |
self::center | |
self::*[@center-attr-2] | |
self::comment() | |
self::foo | |
self::*[near-south] | |
@*/self::node() | |
self::node() | |
self::node()|child::* | |
self::processing-instruction() | |
self::text() | |
@seq | |
'set in var29side, should have highest precedence' | |
'should be wrapped' | |
side | |
@side | |
@size | |
.//*[@so] | |
@spot | |
Spr/State[. = 'Open'] | |
sss//i | |
sss/sss | |
/sss/sss/i | |
starts-with('','') | |
starts-with('ab', 'abc') | |
starts-with('abc', '') | |
starts-with('abc', 'bc') | |
starts-with(doc/@attr, 'slam') | |
starts-with(doc/@attr, 'wich') | |
starts-with(doc, 'ENCY') | |
starts-with(doc, 'test') | |
starts-with('ENCYCLOPEDIA', 'en') | |
starts-with('ENCYCLOPEDIA', 'EN') | |
starts-with('ENCYCLOPEDIA', 'ENCY') | |
*[starts-with(name(.),'f')] | |
starts-with('true()', 'tr') | |
@state | |
'string' | |
string('') | |
string() | |
string(0) | |
string(-1 * number(.)) | |
string(2) | |
string(av//*) | |
string(doc) | |
string(foo) | |
string('!From m!') | |
string('!From n!') | |
string('!From o!') | |
string('!From p!') | |
string('!From ss2!') | |
string('!From ss3!') | |
string('!From ss4!') | |
string('!From ss5!') | |
string-length () | |
string-length(.) | |
string-length() | |
string-length(doc) | |
string-length(doc/a) | |
string-length(normalize-space(.)) | |
string-length('This is a test') | |
string(number(.)) | |
string('test') | |
'stylesheet-var' | |
subj | |
'subsheet, should be overridden by main sheet' | |
substring('1999/04/01', 1, 0) | |
substring('1999/04/01', 1, 4) | |
substring('abcdefghi',2,4) | |
substring('abcdefghijk',0 div 0, 5) | |
substring('abcdefghijk',4, 6) | |
substring-after(.,'-') | |
substring-after('1999/04/01', '/') | |
substring-after('1999/04/01', '1') | |
substring-after('abcdefghijk','l') | |
substring-after(doc, '/') | |
substring-after(doc/@attr, 'd') | |
substring-after(doc/@attr, 'D') | |
substring-after(doc/@attr, 'z') | |
substring-after('ENCYCLOPEDIA', '/') | |
substring-after('ENCYCLOPEDIA', 'C') | |
substring-after(foo, '/') | |
substring-before('1999/04/01', '/') | |
substring-before('a','z') | |
substring-before(doc, '/') | |
substring-before(doc/@attr, 'd') | |
substring-before(doc/@attr, 'D') | |
substring-before(doc/@attr, 'z') | |
substring-before('ENCYCLOPEDIA', '/') | |
substring-before('ENCYCLOPEDIA', 'c') | |
substring-before('ENCYCLOPEDIA', 'C') | |
substring-before(foo, '/') | |
substring(doc, 1, 4) | |
substring(doc/@attr, 1, 3) | |
substring(doc/@attr, 2.5, 3.6) | |
substring(doc/@attr, 4) | |
substring('ENCYCLOPEDIA', 8) | |
substring('ENCYCLOPEDIA', 8, 3) | |
substring(foo, 2, 2) | |
substring(@key,2,1) | |
substring('x',2,1) | |
sum(a-set/a) | |
sum(e) | |
sum(n) | |
sum(n/@attrib) | |
sum(x) | |
t | |
'TableofContents' | |
td | |
team[1] | |
team[2] | |
tee/s | |
'templ' | |
'test' | |
@test | |
*[@test][1]/num | |
*[@test][3]/num | |
*[@test][4]/num | |
//Test/@a | |
*[@test and position()=1] | |
*[@test and position()=4] | |
*[@test and position()=7] | |
*[@test and position()=8] | |
//Test/@b | |
testfile.html | |
'Testing ' | |
*[@test][position()=1]/num | |
*[@test][position()=3]/num | |
*[@test][position()=4]/num | |
*[@test='true'] | |
'test value set in final' | |
'test value set in impfinal' | |
'test value set in impmid' | |
'test value set in mid' | |
'test value set in var27side' | |
//text() | |
.//text() | |
./text() | |
..//text() | |
' #text' | |
text() | |
text()[1] | |
text()[3] | |
./@theattrib | |
'the same' | |
'this' | |
time | |
'titi' | |
title | |
//title | |
.//title | |
@title | |
'Tommy' | |
'top' | |
town[generate-id() = generate-id(key('places',@state)[1])] | |
translate("BAR","abc","ABC") | |
translate("BAR","Rab","TxX") | |
translate("bar","RAB","xyz") | |
translate("ddaaadddd","abcd","ABCxy") | |
translate("zzaaazzz","abcz","ABC") | |
translate(a,"abc","ABC") | |
translate(a/@attrib,"lo","IT") | |
translate(.,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ') | |
translate(b,"ABC","abc") | |
translate(b/@attrib,"lo","it") | |
translate(b/@attrib,"LO","it") | |
//tr[count(./td) = 3] | |
true() | |
true()='0' | |
true()=2 | |
true() and false() | |
true() and true() | |
true()!=false() | |
true() or 1 div 0 | |
true() or false() | |
true() or true() | |
'US' | |
@val | |
@value | |
'value set in var30mid, should have highest precedence' | |
../@width | |
@width | |
width * depth | |
'Wizard' | |
//@x | |
//X | |
' x 4' | |
'Xalan_URL_found' | |
@xml:att1 | |
@xx | |
//xx/descendant::* | |
@x|@z | |
@z | |
z[1] | |
zoneone | |
'z w x' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Xpath : //@* | |
Relativize: descendant-or-self::@* | |
Xpath : '' | |
Relativize: self::'' | |
Xpath : '+' | |
Relativize: self::'+' | |
Xpath : @* | |
Relativize: self::@* | |
Xpath : @*/. | |
Relativize: self::@*/. | |
Xpath : * | |
Relativize: *a[name() = "b"] | |
Xpath : *|@* | |
Relativize: *a[name() = "b"] | self::@* | |
Xpath : '001' = 1 | |
Relativize: self::'001' = 1 | |
Xpath : '0'=true() | |
Relativize: self::'0'=true() | |
Xpath : *[1] | |
Relativize: *self::[1] | |
Xpath : '1' and '0' | |
Relativize: self::'1' and '0' | |
Xpath : @*[2] | |
Relativize: self::@*[2] | |
Xpath : '200' | |
Relativize: self::'200' | |
Xpath : '2'>'1' | |
Relativize: self::'2'>'1' | |
Xpath : 25-* | |
Relativize: self::25-* | |
Xpath : * +3 | |
Relativize: * self::+3 | |
Xpath : *[3] | |
Relativize: *self::[3] | |
Xpath : (* - 4)** | |
Relativize: (* self::- 4)** | |
Xpath : *[4] | |
Relativize: *self::[4] | |
Xpath : (* - 4) div 2 | |
Relativize: (* self::- 4) div 2 | |
Xpath : '....5....|' | |
Relativize: self::'....5.... | self::' | |
Xpath : @*-5 | |
Relativize: self::@*-5 | |
Xpath : ' 6 '*div | |
Relativize: self::' 6 '*div | |
Xpath : ' 6 ' div 2 | |
Relativize: self::' 6 ' div 2 | |
Xpath : 'ABC' | |
Relativize: self::'ABC' | |
Xpath : 'abcdæfgh' | |
Relativize: self::'abcdæfgh' | |
Xpath : 'abcdèfgh' | |
Relativize: self::'abcdèfgh' | |
Xpath : 'ace' != 'abc' | |
Relativize: self::'ace' != 'abc' | |
Xpath : 'ace' != 'ace' | |
Relativize: self::'ace' != 'ace' | |
Xpath : //ancestor::* | |
Relativize: descendant-or-self::ancestor::* | |
Xpath : 'ancestor::*' | |
Relativize: self::'ancestor::*' | |
Xpath : @*/ancestor::* | |
Relativize: self::@*/ancestor::* | |
Xpath : @*/ancestor::*/near-north/*[4]/@*/following::node() | |
Relativize: self::@*/ancestor::*/near-north/*[4]/@*/following::node() | |
Xpath : @*/ancestor::*/near-north/*[4]/@*/preceding::* | |
Relativize: self::@*/ancestor::*/near-north/*[4]/@*/preceding::* | |
Xpath : @*/ancestor::*/near-north/*[4]/@*/preceding::comment() | |
Relativize: self::@*/ancestor::*/near-north/*[4]/@*/preceding::comment() | |
Xpath : @*/ancestor::*/near-north/*[4]/@*/preceding::node() | |
Relativize: self::@*/ancestor::*/near-north/*[4]/@*/preceding::node() | |
Xpath : @*/ancestor::*/near-north/*[4]/@*/preceding::processing-instruction() | |
Relativize: self::@*/ancestor::*/near-north/*[4]/@*/preceding::processing-instruction() | |
Xpath : @*/ancestor::*/near-north/*[4]/@*/preceding::text() | |
Relativize: self::@*/ancestor::*/near-north/*[4]/@*/preceding::text() | |
Xpath : 'ancestor-or-self::*' | |
Relativize: self::'ancestor-or-self::*' | |
Xpath : @*/ancestor-or-self::* | |
Relativize: self::@*/ancestor-or-self::* | |
Xpath : 'Apply-templates' | |
Relativize: self::'Apply-templates' | |
Xpath : @att1 | |
Relativize: self::@att1 | |
Xpath : @attr | |
Relativize: self::@attr | |
Xpath : attribute :: * | |
Relativize: self::attribute :: * | |
Xpath : @attribute1 | |
Relativize: self::@attribute1 | |
Xpath : attribute :: div | |
Relativize: self::attribute :: div | |
Xpath : 'b' | |
Relativize: self::'b' | |
Xpath : 'baseParam1Data' | |
Relativize: self::'baseParam1Data' | |
Xpath : 'baseSubParam0Data' | |
Relativize: self::'baseSubParam0Data' | |
Xpath : boolean('') | |
Relativize: self::boolean('') | |
Xpath : boolean(-0) | |
Relativize: self::boolean(-0) | |
Xpath : boolean('0') | |
Relativize: self::boolean('0') | |
Xpath : boolean(0) | |
Relativize: self::boolean(0) | |
Xpath : boolean(0 div 0) | |
Relativize: self::boolean(0 div 0) | |
Xpath : boolean('1') | |
Relativize: self::boolean('1') | |
Xpath : boolean(1) | |
Relativize: self::boolean(1) | |
Xpath : boolean(1 div 0) | |
Relativize: self::boolean(1 div 0) | |
Xpath : boolean(doc) | |
Relativize: self::boolean(doc) | |
Xpath : boolean(foo) | |
Relativize: self::boolean(foo) | |
Xpath : 'bug' | |
Relativize: self::'bug' | |
Xpath : 'Call-template' | |
Relativize: self::'Call-template' | |
Xpath : ceiling(0.0) | |
Relativize: self::ceiling(0.0) | |
Xpath : ceiling(1)=1 | |
Relativize: self::ceiling(1)=1 | |
Xpath : ceiling(1.1)=2 | |
Relativize: self::ceiling(1.1)=2 | |
Xpath : ceiling(-1.5)=-1 | |
Relativize: self::ceiling(-1.5)=-1 | |
Xpath : ceiling(1.54) | |
Relativize: self::ceiling(1.54) | |
Xpath : ceiling(2.999999) | |
Relativize: self::ceiling(2.999999) | |
Xpath : ceiling(n0) | |
Relativize: self::ceiling(n0) | |
Xpath : ceiling(n1) | |
Relativize: self::ceiling(n1) | |
Xpath : ceiling(n2) | |
Relativize: self::ceiling(n2) | |
Xpath : ceiling(number('xxx')) | |
Relativize: self::ceiling(number('xxx')) | |
Xpath : @center-attr-2 | |
Relativize: self::@center-attr-2 | |
Xpath : 'child::*' | |
Relativize: self::'child::*' | |
Xpath : @*/child::* | |
Relativize: self::@*/child::* | |
Xpath : child :: sub | |
Relativize: self::child :: sub | |
Xpath : @*|comment()|processing-instruction()|text()|* | |
Relativize: self::@* | self::comment() | self::processing-instruction() | self::text() | *a[name() = "b"] | |
Xpath : *|@*|comment()|processing-instruction()|text() | |
Relativize: *a[name() = "b"] | self::@* | self::comment() | self::processing-instruction() | self::text() | |
Xpath : *|@*|comment()|text() | |
Relativize: *a[name() = "b"] | self::@* | self::comment() | self::text() | |
Xpath : concat("a","b","c","d","ef") | |
Relativize: self::concat("a","b","c","d","ef") | |
Xpath : concat("bc", string(23)) | |
Relativize: self::concat("bc", string(23)) | |
Xpath : concat("cd", 34) | |
Relativize: self::concat("cd", 34) | |
Xpath : concat("cd", "34") | |
Relativize: self::concat("cd", "34") | |
Xpath : concat(a, 34) | |
Relativize: self::concat(a, 34) | |
Xpath : concat(a, b) | |
Relativize: self::concat(a, b) | |
Xpath : concat(a, b, c, d, e) | |
Relativize: self::concat(a, b, c, d, e) | |
Xpath : concat(/*, /*[@attr='whatsup']) | |
Relativize: self::concat(/*, /*[@attr='whatsup']) | |
Xpath : concat(false(),'ly') | |
Relativize: self::concat(false(),'ly') | |
Xpath : concat(left,right,orig) | |
Relativize: self::concat(left,right,orig) | |
Xpath : concat(team[1]/@score, '-', team[2]/@score) | |
Relativize: self::concat(team[1]/@score, '-', team[2]/@score) | |
Xpath : concat(team[1], ' versus ', team[2]) | |
Relativize: self::concat(team[1], ' versus ', team[2]) | |
Xpath : 'condition false' | |
Relativize: self::'condition false' | |
Xpath : 'condition true' | |
Relativize: self::'condition true' | |
Xpath : contains('','') | |
Relativize: self::contains('','') | |
Xpath : contains(., '&') | |
Relativize: self::contains(., '&') | |
Xpath : contains('ab', 'abc') | |
Relativize: self::contains('ab', 'abc') | |
Xpath : contains('abc', '') | |
Relativize: self::contains('abc', '') | |
Xpath : contains('abc', 'bc') | |
Relativize: self::contains('abc', 'bc') | |
Xpath : contains('abc', 'bcd') | |
Relativize: self::contains('abc', 'bcd') | |
Xpath : contains(concat(.,'BC'),concat('A','B','C')) | |
Relativize: self::contains(concat(.,'BC'),concat('A','B','C')) | |
Xpath : contains(., '°') | |
Relativize: self::contains(., '°') | |
Xpath : contains(doc/@attr, 'amwi') | |
Relativize: self::contains(doc/@attr, 'amwi') | |
Xpath : contains(doc/@attr, 'TEST') | |
Relativize: self::contains(doc/@attr, 'TEST') | |
Xpath : contains(doc, 'CYCL') | |
Relativize: self::contains(doc, 'CYCL') | |
Xpath : contains(doc, 'TEST') | |
Relativize: self::contains(doc, 'TEST') | |
Xpath : contains('ENCYCLOPEDIA', 'CYCL') | |
Relativize: self::contains('ENCYCLOPEDIA', 'CYCL') | |
Xpath : contains('ENCYCLOPEDIA', 'TEST') | |
Relativize: self::contains('ENCYCLOPEDIA', 'TEST') | |
Xpath : contains('foo','o') | |
Relativize: self::contains('foo','o') | |
Xpath : contains(main,sub) | |
Relativize: self::contains(main,sub) | |
Xpath : contains('true()', 'e') | |
Relativize: self::contains('true()', 'e') | |
Xpath : 'correct' | |
Relativize: self::'correct' | |
Xpath : count(//@*) | |
Relativize: self::count(//@*) | |
Xpath : count(.//@*) | |
Relativize: self::count(.//@*) | |
Xpath : count(*) | |
Relativize: self::count(*) | |
Xpath : count(a/@*) | |
Relativize: self::count(a/@*) | |
Xpath : count(a/attribute::*) | |
Relativize: self::count(a/attribute::*) | |
Xpath : count(a/comment()) | |
Relativize: self::count(a/comment()) | |
Xpath : count(a[@ex='']) | |
Relativize: self::count(a[@ex='']) | |
Xpath : count(a[@ex!='']) | |
Relativize: self::count(a[@ex!='']) | |
Xpath : count(a[@ex]) | |
Relativize: self::count(a[@ex]) | |
Xpath : count(alpha/*[last()][name()='z']) | |
Relativize: self::count(alpha/*[last()][name()='z']) | |
Xpath : count(ancestor-or-self::*/@att1) | |
Relativize: self::count(ancestor-or-self::*/@att1) | |
Xpath : count(ancestor-or-self::node()) | |
Relativize: self::count(ancestor-or-self::node()) | |
Xpath : count(a[not(@ex='')]) | |
Relativize: self::count(a[not(@ex='')]) | |
Xpath : count(a[not(@ex)]) | |
Relativize: self::count(a[not(@ex)]) | |
Xpath : count(a[not(string-length(@ex)=0)]) | |
Relativize: self::count(a[not(string-length(@ex)=0)]) | |
Xpath : count(a-set/a/text()) | |
Relativize: self::count(a-set/a/text()) | |
Xpath : count(a[string-length(@ex)=0]) | |
Relativize: self::count(a[string-length(@ex)=0]) | |
Xpath : count(a[string-length(@ex) > 0]) | |
Relativize: self::count(a[string-length(@ex) > 0]) | |
Xpath : count(a/text()) | |
Relativize: self::count(a/text()) | |
Xpath : count(a[@why='value']) | |
Relativize: self::count(a[@why='value']) | |
Xpath : count(a[@why!='value']) | |
Relativize: self::count(a[@why!='value']) | |
Xpath : count(.//comment()) | |
Relativize: self::count(.//comment()) | |
Xpath : count(descendant::*) | |
Relativize: self::count(descendant::*) | |
Xpath : count(descendant-or-self::*) | |
Relativize: self::count(descendant-or-self::*) | |
Xpath : count(descendant-or-self::*/@att1) | |
Relativize: self::count(descendant-or-self::*/@att1) | |
Xpath : count(descendant-or-self::*/namespace::*) | |
Relativize: self::count(descendant-or-self::*/namespace::*) | |
Xpath : count(div) | |
Relativize: self::count(div) | |
Xpath : count(/doc/alpha[last()]/h) | |
Relativize: self::count(/doc/alpha[last()]/h) | |
Xpath : count(/doc/chapter/note) | |
Relativize: self::count(/doc/chapter/note) | |
Xpath : count(following::node()|following::*/@*) | |
Relativize: self::count(following::node() | following::*/@*) | |
Xpath : count(following-sibling::*) | |
Relativize: self::count(following-sibling::*) | |
Xpath : count(id('c')) | |
Relativize: self::count(id('c')) | |
Xpath : count(id('d b c k')) | |
Relativize: self::count(id('d b c k')) | |
Xpath : count(id('k')) | |
Relativize: self::count(id('k')) | |
Xpath : count(namespace::*[name(.)!='xml']) | |
Relativize: self::count(namespace::*[name(.)!='xml']) | |
Xpath : count(preceding::text()) | |
Relativize: self::count(preceding::text()) | |
Xpath : count(//section//@*) | |
Relativize: self::count(//section//@*) | |
Xpath : count(section[1]//@*) | |
Relativize: self::count(section[1]//@*) | |
Xpath : count(section[1]//@title) | |
Relativize: self::count(section[1]//@title) | |
Xpath : count(section[2]//@*) | |
Relativize: self::count(section[2]//@*) | |
Xpath : count(section[2]//@title) | |
Relativize: self::count(section[2]//@title) | |
Xpath : count(section[3]//@*) | |
Relativize: self::count(section[3]//@*) | |
Xpath : count(section[3]//@title) | |
Relativize: self::count(section[3]//@title) | |
Xpath : count(//section//@title) | |
Relativize: self::count(//section//@title) | |
Xpath : count(//@title) | |
Relativize: self::count(//@title) | |
Xpath : count(.//@title) | |
Relativize: self::count(.//@title) | |
Xpath : count(//tr) | |
Relativize: self::count(//tr) | |
Xpath : count(//tr[count(./td) = 3]) | |
Relativize: self::count(//tr[count(./td) = 3]) | |
Xpath : count(*/z[2]) | |
Relativize: self::count(*/z[2]) | |
Xpath : 'CY' | |
Relativize: self::'CY' | |
Xpath : 'Data' | |
Relativize: self::'Data' | |
Xpath : 'default' | |
Relativize: self::'default' | |
Xpath : 'descendant::*' | |
Relativize: self::'descendant::*' | |
Xpath : @*/descendant::node() | |
Relativize: self::@*/descendant::node() | |
Xpath : 'descendant-or-self::*' | |
Relativize: self::'descendant-or-self::*' | |
Xpath : @*/descendant-or-self::node() | |
Relativize: self::@*/descendant-or-self::node() | |
Xpath : 'descending' | |
Relativize: self::'descending' | |
Xpath : @div -5 | |
Relativize: self::@div -5 | |
Xpath : @div - 5 | |
Relativize: self::@div - 5 | |
Xpath : @div-5 | |
Relativize: self::@div-5 | |
Xpath : 'duh' | |
Relativize: self::'duh' | |
Xpath : 'en' | |
Relativize: self::'en' | |
Xpath : 'error' | |
Relativize: self::'error' | |
Xpath : 'error1!' | |
Relativize: self::'error1!' | |
Xpath : 'error2!' | |
Relativize: self::'error2!' | |
Xpath : 'error3!' | |
Relativize: self::'error3!' | |
Xpath : 'error4!' | |
Relativize: self::'error4!' | |
Xpath : 'error5!' | |
Relativize: self::'error5!' | |
Xpath : 'error6!' | |
Relativize: self::'error6!' | |
Xpath : 'fallback' | |
Relativize: self::'fallback' | |
Xpath : false() | |
Relativize: self::false() | |
Xpath : false()='' | |
Relativize: self::false()='' | |
Xpath : false()=0 | |
Relativize: self::false()=0 | |
Xpath : false() and 1 div 0 | |
Relativize: self::false() and 1 div 0 | |
Xpath : false() and false() | |
Relativize: self::false() and false() | |
Xpath : false() and true() | |
Relativize: self::false() and true() | |
Xpath : false()!=false() | |
Relativize: self::false()!=false() | |
Xpath : false() or false() | |
Relativize: self::false() or false() | |
Xpath : false() or true() | |
Relativize: self::false() or true() | |
Xpath : false()!=true() | |
Relativize: self::false()!=true() | |
Xpath : fa/../mi | Aflat/natural/la | Csharp//* | /doc/do | *//ti | |
Relativize: self::fa/../mi | self::Aflat/natural/la | self::Csharp//* | a[name() = "b"] | *descendant-or-self::ti | |
Xpath : 'first' | |
Relativize: self::'first' | |
Xpath : @flag | |
Relativize: self::@flag | |
Xpath : floor(0.0) | |
Relativize: self::floor(0.0) | |
Xpath : floor(1)=1 | |
Relativize: self::floor(1)=1 | |
Xpath : floor(-1.5) | |
Relativize: self::floor(-1.5) | |
Xpath : floor(-1.5)=-2 | |
Relativize: self::floor(-1.5)=-2 | |
Xpath : floor(1.9) | |
Relativize: self::floor(1.9) | |
Xpath : floor(1.9)=1 | |
Relativize: self::floor(1.9)=1 | |
Xpath : floor(2.999999) | |
Relativize: self::floor(2.999999) | |
Xpath : floor(n0) | |
Relativize: self::floor(n0) | |
Xpath : floor(n1) | |
Relativize: self::floor(n1) | |
Xpath : floor(n2) | |
Relativize: self::floor(n2) | |
Xpath : floor(number('xxx')) | |
Relativize: self::floor(number('xxx')) | |
Xpath : 'following::*' | |
Relativize: self::'following::*' | |
Xpath : @*/following::* | |
Relativize: self::@*/following::* | |
Xpath : @*/following::comment() | |
Relativize: self::@*/following::comment() | |
Xpath : @*/following::processing-instruction() | |
Relativize: self::@*/following::processing-instruction() | |
Xpath : 'following-sibling::*' | |
Relativize: self::'following-sibling::*' | |
Xpath : @*/following-sibling::* | |
Relativize: self::@*/following-sibling::* | |
Xpath : @*/following::text() | |
Relativize: self::@*/following::text() | |
Xpath : 'foo' and 'fop' | |
Relativize: self::'foo' and 'fop' | |
Xpath : 'Gadzookz' | |
Relativize: self::'Gadzookz' | |
Xpath : 'global' | |
Relativize: self::'global' | |
Xpath : @group | |
Relativize: self::@group | |
Xpath : @height*@width | |
Relativize: self::@height*@width | |
Xpath : 'H' != ' H' | |
Relativize: self::'H' != ' H' | |
Xpath : 'H' != 'H ' | |
Relativize: self::'H' != 'H ' | |
Xpath : @h | @w | |
Relativize: self::@h | self::@w | |
Xpath : ./@id | |
Relativize: self::@id | |
Xpath : @id | |
Relativize: self::@id | |
Xpath : id('c a d') | |
Relativize: self::id('c a d') | |
Xpath : id('c')/@id | |
Relativize: self::id('c')/@id | |
Xpath : id('d b c') | |
Relativize: self::id('d b c') | |
Xpath : id('id0')/a/b | |
Relativize: self::id('id0')/a/b | |
Xpath : id('id0')/c/c/a | |
Relativize: self::id('id0')/c/c/a | |
Xpath : id('id10')/a | |
Relativize: self::id('id10')/a | |
Xpath : id('id13') | |
Relativize: self::id('id13') | |
Xpath : id('id2')/a | id('id5') | id('id15')/a | |
Relativize: self::id('id2')/a | self::id('id5') | self::id('id15')/a | |
Xpath : id('id4') | |
Relativize: self::id('id4') | |
Xpath : id('id8')/b/b | |
Relativize: self::id('id8')/b/b | |
Xpath : id('id9') | |
Relativize: self::id('id9') | |
Xpath : id(main/b) | |
Relativize: self::id(main/b) | |
Xpath : id(main/@list) | |
Relativize: self::id(main/@list) | |
Xpath : id('nomatch')/@id | |
Relativize: self::id('nomatch')/@id | |
Xpath : 'incorrect' | |
Relativize: self::'incorrect' | |
Xpath : 'In Import: Testing ' | |
Relativize: self::'In Import: Testing ' | |
Xpath : 'In Include: Testing ' | |
Relativize: self::'In Include: Testing ' | |
Xpath : @key | |
Relativize: self::@key | |
Xpath : *//la | //Bflat | re | |
Relativize: *descendant-or-self::la | descendant-or-self::Bflat | self::re | |
Xpath : lang('en') | |
Relativize: self::lang('en') | |
Xpath : *[last()] | |
Relativize: *self::[last()] | |
Xpath : *[last()=position()] | |
Relativize: *self::[last()=position()] | |
Xpath : 'left' | |
Relativize: self::'left' | |
Xpath : @level | |
Relativize: self::@level | |
Xpath : 'level0' | |
Relativize: self::'level0' | |
Xpath : 'level1' | |
Relativize: self::'level1' | |
Xpath : 'level3' | |
Relativize: self::'level3' | |
Xpath : 'local' | |
Relativize: self::'local' | |
Xpath : local-name(.) | |
Relativize: self::local-name(.) | |
Xpath : local-name() | |
Relativize: self::local-name() | |
Xpath : local-name(a/@at1) | |
Relativize: self::local-name(a/@at1) | |
Xpath : *[local-name()='bar'] | |
Relativize: *self::[local-name()='bar'] | |
Xpath : local-name(namespace::*[1]) | |
Relativize: self::local-name(namespace::*[1]) | |
Xpath : local-name(namespace::*[name(.)!='xml']) | |
Relativize: self::local-name(namespace::*[name(.)!='xml']) | |
Xpath : local-name(namespace::*[string()='http://www.w3.org/1999/XMLSchema-instance']) | |
Relativize: self::local-name(namespace::*[string()='http://www.w3.org/1999/XMLSchema-instance']) | |
Xpath : local-name(namespace::*[string()='test']) | |
Relativize: self::local-name(namespace::*[string()='test']) | |
Xpath : 'lower-first' | |
Relativize: self::'lower-first' | |
Xpath : 'main stylesheet, should have highest precedence' | |
Relativize: self::'main stylesheet, should have highest precedence' | |
Xpath : @mark | |
Relativize: self::@mark | |
Xpath : 'mdocs15a.xml' | |
Relativize: self::'mdocs15a.xml' | |
Xpath : -(n1|n2) | |
Relativize: self::-(n1 | self::n2) | |
Xpath : -(n-2/@attrib) - -(n-1/@attrib) | |
Relativize: self::-(n-2/@attrib) - -(n-1/@attrib) | |
Xpath : ./@name | |
Relativize: self::@name | |
Xpath : @name | |
Relativize: self::@name | |
Xpath : name(..) | |
Relativize: self::name(..) | |
Xpath : name(.) | |
Relativize: self::name(.) | |
Xpath : name() | |
Relativize: self::name() | |
Xpath : name(*) | |
Relativize: self::name(*) | |
Xpath : name(a/@at1) | |
Relativize: self::name(a/@at1) | |
Xpath : name(ancestor::*[1]) | |
Relativize: self::name(ancestor::*[1]) | |
Xpath : name(ancestor::*[2]) | |
Relativize: self::name(ancestor::*[2]) | |
Xpath : name(ancestor::*[3]) | |
Relativize: self::name(ancestor::*[3]) | |
Xpath : name(/descendant::near-north) | |
Relativize: self::name(/descendant::near-north) | |
Xpath : name(descendant::near-north/descendant::far-west) | |
Relativize: self::name(descendant::near-north/descendant::far-west) | |
Xpath : name(descendant::near-north/descendant::far-west/descendant-or-self::far-west) | |
Relativize: self::name(descendant::near-north/descendant::far-west/descendant-or-self::far-west) | |
Xpath : name(/descendant::near-north/descendant-or-self::near-north) | |
Relativize: self::name(/descendant::near-north/descendant-or-self::near-north) | |
Xpath : name(descendant::near-north/descendant-or-self::near-north) | |
Relativize: self::name(descendant::near-north/descendant-or-self::near-north) | |
Xpath : name(descendant::near-north/descendant-or-self::near-north/child::far-west) | |
Relativize: self::name(descendant::near-north/descendant-or-self::near-north/child::far-west) | |
Xpath : name(descendant::near-north/descendant-or-self::near-north/descendant-or-self::near-north) | |
Relativize: self::name(descendant::near-north/descendant-or-self::near-north/descendant-or-self::near-north) | |
Xpath : name(descendant::node()/descendant::far-west) | |
Relativize: self::name(descendant::node()/descendant::far-west) | |
Xpath : name(descendant::node()/descendant::node()/descendant-or-self::far-west) | |
Relativize: self::name(descendant::node()/descendant::node()/descendant-or-self::far-west) | |
Xpath : name(/descendant::node()/descendant-or-self::near-north) | |
Relativize: self::name(/descendant::node()/descendant-or-self::near-north) | |
Xpath : name(descendant::node()/descendant-or-self::near-north) | |
Relativize: self::name(descendant::node()/descendant-or-self::near-north) | |
Xpath : name(descendant::node()/descendant-or-self::node()/child::far-west) | |
Relativize: self::name(descendant::node()/descendant-or-self::node()/child::far-west) | |
Xpath : name(descendant::node()/descendant-or-self::node()/descendant-or-self::near-north) | |
Relativize: self::name(descendant::node()/descendant-or-self::node()/descendant-or-self::near-north) | |
Xpath : name(/descendant-or-self::node()/child::near-north) | |
Relativize: self::name(/descendant-or-self::node()/child::near-north) | |
Xpath : name(descendant-or-self::node()/child::near-north) | |
Relativize: self::name(descendant-or-self::node()/child::near-north) | |
Xpath : name(descendant-or-self::node()/child::node()/child::far-west) | |
Relativize: self::name(descendant-or-self::node()/child::node()/child::far-west) | |
Xpath : name(descendant-or-self::node()/child::node()/descendant-or-self::near-north) | |
Relativize: self::name(descendant-or-self::node()/child::node()/descendant-or-self::near-north) | |
Xpath : name(descendant-or-self::node()/descendant::near-north) | |
Relativize: self::name(descendant-or-self::node()/descendant::near-north) | |
Xpath : name(descendant-or-self::node()/descendant::node()/child::far-west) | |
Relativize: self::name(descendant-or-self::node()/descendant::node()/child::far-west) | |
Xpath : name(descendant-or-self::node()/descendant::node()/descendant-or-self::near-north) | |
Relativize: self::name(descendant-or-self::node()/descendant::node()/descendant-or-self::near-north) | |
Xpath : name(descendant-or-self::node()/descendant-or-self::node()/child::near-north) | |
Relativize: self::name(descendant-or-self::node()/descendant-or-self::node()/child::near-north) | |
Xpath : name(descendant-or-self::node()/descendant-or-self::node()/descendant-or-self::north) | |
Relativize: self::name(descendant-or-self::node()/descendant-or-self::node()/descendant-or-self::north) | |
Xpath : name(/descendant-or-self::node()/descendant-or-self::north) | |
Relativize: self::name(/descendant-or-self::node()/descendant-or-self::north) | |
Xpath : name(descendant-or-self::node()/descendant-or-self::north) | |
Relativize: self::name(descendant-or-self::node()/descendant-or-self::north) | |
Xpath : name(/descendant-or-self::north) | |
Relativize: self::name(/descendant-or-self::north) | |
Xpath : name(/descendant-or-self::north/child::near-north) | |
Relativize: self::name(/descendant-or-self::north/child::near-north) | |
Xpath : name(descendant-or-self::north/child::near-north) | |
Relativize: self::name(descendant-or-self::north/child::near-north) | |
Xpath : name(descendant-or-self::north/child::near-north/child::far-west) | |
Relativize: self::name(descendant-or-self::north/child::near-north/child::far-west) | |
Xpath : name(descendant-or-self::north/child::near-north/descendant-or-self::near-north) | |
Relativize: self::name(descendant-or-self::north/child::near-north/descendant-or-self::near-north) | |
Xpath : name(descendant-or-self::north/descendant::near-north) | |
Relativize: self::name(descendant-or-self::north/descendant::near-north) | |
Xpath : name(descendant-or-self::north/descendant::near-north/child::far-west) | |
Relativize: self::name(descendant-or-self::north/descendant::near-north/child::far-west) | |
Xpath : name(descendant-or-self::north/descendant::near-north/descendant-or-self::near-north) | |
Relativize: self::name(descendant-or-self::north/descendant::near-north/descendant-or-self::near-north) | |
Xpath : name(/descendant-or-self::north/descendant-or-self::north) | |
Relativize: self::name(/descendant-or-self::north/descendant-or-self::north) | |
Xpath : name(descendant-or-self::north/descendant-or-self::north) | |
Relativize: self::name(descendant-or-self::north/descendant-or-self::north) | |
Xpath : name(descendant-or-self::north/descendant-or-self::north/child::near-north) | |
Relativize: self::name(descendant-or-self::north/descendant-or-self::north/child::near-north) | |
Xpath : name(descendant-or-self::north/descendant-or-self::north/descendant-or-self::north) | |
Relativize: self::name(descendant-or-self::north/descendant-or-self::north/descendant-or-self::north) | |
Xpath : name(following::*[last()]) | |
Relativize: self::name(following::*[last()]) | |
Xpath : name(following-sibling::*[last()]) | |
Relativize: self::name(following-sibling::*[last()]) | |
Xpath : name(namespace::*[1]) | |
Relativize: self::name(namespace::*[1]) | |
Xpath : name(namespace::*[name(.)!='xml']) | |
Relativize: self::name(namespace::*[name(.)!='xml']) | |
Xpath : name(preceding::*[last()]) | |
Relativize: self::name(preceding::*[last()]) | |
Xpath : name(preceding-sibling::*[last()]) | |
Relativize: self::name(preceding-sibling::*[last()]) | |
Xpath : name(self::node()/descendant::near-north) | |
Relativize: self::name(self::node()/descendant::near-north) | |
Xpath : name(self::node()/descendant::near-north/child::far-west) | |
Relativize: self::name(self::node()/descendant::near-north/child::far-west) | |
Xpath : name(self::node()/descendant::near-north/descendant-or-self::far-west) | |
Relativize: self::name(self::node()/descendant::near-north/descendant-or-self::far-west) | |
Xpath : name(self::node()/descendant::node()/child::far-west) | |
Relativize: self::name(self::node()/descendant::node()/child::far-west) | |
Xpath : name(self::node()/descendant::node()/descendant-or-self::far-west) | |
Relativize: self::name(self::node()/descendant::node()/descendant-or-self::far-west) | |
Xpath : name(self::node()/descendant-or-self::node()/child::near-north) | |
Relativize: self::name(self::node()/descendant-or-self::node()/child::near-north) | |
Xpath : name(self::node()/descendant-or-self::node()/descendant-or-self::north) | |
Relativize: self::name(self::node()/descendant-or-self::node()/descendant-or-self::north) | |
Xpath : name(self::node()/descendant-or-self::north) | |
Relativize: self::name(self::node()/descendant-or-self::north) | |
Xpath : name(self::node()/descendant-or-self::north/child::near-north) | |
Relativize: self::name(self::node()/descendant-or-self::north/child::near-north) | |
Xpath : name(self::node()/descendant-or-self::north/descendant-or-self::north) | |
Relativize: self::name(self::node()/descendant-or-self::north/descendant-or-self::north) | |
Xpath : namespace::* | |
Relativize: self::namespace::* | |
Xpath : namespace::* | attribute::* | |
Relativize: self::namespace::* | attribute::* | |
Xpath : namespace::bdd | |
Relativize: self::namespace::bdd | |
Xpath : namespace::node() | |
Relativize: self::namespace::node() | |
Xpath : namespace::ped | |
Relativize: self::namespace::ped | |
Xpath : namespace-uri(.) | |
Relativize: self::namespace-uri(.) | |
Xpath : namespace-uri() | |
Relativize: self::namespace-uri() | |
Xpath : namespace-uri(*) | |
Relativize: self::namespace-uri(*) | |
Xpath : namespace-uri(a/@at1) | |
Relativize: self::namespace-uri(a/@at1) | |
Xpath : namespace-uri(bogus) | |
Relativize: self::namespace-uri(bogus) | |
Xpath : namespace-uri(namespace::*[name(.)!='xml']) | |
Relativize: self::namespace-uri(namespace::*[name(.)!='xml']) | |
Xpath : namespace-uri(namespace::*[string()='http://www.w3.org/1999/XMLSchema-instance']) | |
Relativize: self::namespace-uri(namespace::*[string()='http://www.w3.org/1999/XMLSchema-instance']) | |
Xpath : namespace-uri(namespace::*[string()='test']) | |
Relativize: self::namespace-uri(namespace::*[string()='test']) | |
Xpath : namespace-uri(x) | |
Relativize: self::namespace-uri(x) | |
Xpath : @net | |
Relativize: self::@net | |
Xpath : @*|node() | |
Relativize: self::@* | self::node() | |
Xpath : node()|@* | |
Relativize: self::node() | self::@* | |
Xpath : @*|node()|comment()|processing-instruction() | |
Relativize: self::@* | self::node() | self::comment() | self::processing-instruction() | |
Xpath : @*|node()|text() | |
Relativize: self::@* | self::node() | self::text() | |
Xpath : normalize-space(.) | |
Relativize: self::normalize-space(.) | |
Xpath : normalize-space() | |
Relativize: self::normalize-space() | |
Xpath : normalize-space(a) | |
Relativize: self::normalize-space(a) | |
Xpath : normalize-space(text()) | |
Relativize: self::normalize-space(text()) | |
Xpath : normalize-space(url) | |
Relativize: self::normalize-space(url) | |
Xpath : not('') | |
Relativize: self::not('') | |
Xpath : not('0') | |
Relativize: self::not('0') | |
Xpath : not(false()) | |
Relativize: self::not(false()) | |
Xpath : not(false() = false()) | |
Relativize: self::not(false() = false()) | |
Xpath : *[not(@test)][last()] | |
Relativize: *self::[not(@test)][last()] | |
Xpath : *[not(@test)][last()=position()] | |
Relativize: *self::[not(@test)][last()=position()] | |
Xpath : not(true()) | |
Relativize: self::not(true()) | |
Xpath : not(true() = false()) | |
Relativize: self::not(true() = false()) | |
Xpath : @num | |
Relativize: self::@num | |
Xpath : 'number' | |
Relativize: self::'number' | |
Xpath : number('') | |
Relativize: self::number('') | |
Xpath : number() | |
Relativize: self::number() | |
Xpath : number(0.0001 * 4) | |
Relativize: self::number(0.0001 * 4) | |
Xpath : number(0.109375 * 16) | |
Relativize: self::number(0.109375 * 16) | |
Xpath : number(1.75) | |
Relativize: self::number(1.75) | |
Xpath : (number(1.75) = (0.109375 * 16)) | |
Relativize: (self::number(1.75) = (0.109375 * 16)) | |
Xpath : (number(1.75) = (7 div 4)) | |
Relativize: (self::number(1.75) = (7 div 4)) | |
Xpath : number(2) | |
Relativize: self::number(2) | |
Xpath : number('3') | |
Relativize: self::number('3') | |
Xpath : number(4 div 10000) | |
Relativize: self::number(4 div 10000) | |
Xpath : number(7 div 4) | |
Relativize: self::number(7 div 4) | |
Xpath : number('abc') | |
Relativize: self::number('abc') | |
Xpath : number(false())=0 | |
Relativize: self::number(false())=0 | |
Xpath : number(foo) | |
Relativize: self::number(foo) | |
Xpath : number(k) | |
Relativize: self::number(k) | |
Xpath : (number(k) = (0.0001 * 4)) | |
Relativize: (self::number(k) = (0.0001 * 4)) | |
Xpath : (number(k) = (4 div 10000)) | |
Relativize: (self::number(k) = (4 div 10000)) | |
Xpath : number(n1) | |
Relativize: self::number(n1) | |
Xpath : number(string(1.0))=1 | |
Relativize: self::number(string(1.0))=1 | |
Xpath : number(true())=1 | |
Relativize: self::number(true())=1 | |
Xpath : number('xxx')=0 | |
Relativize: self::number('xxx')=0 | |
Xpath : number('xxx') - 10 | |
Relativize: self::number('xxx') - 10 | |
Xpath : number('xxx') div 3 | |
Relativize: self::number('xxx') div 3 | |
Xpath : number('xxx') mod 3 | |
Relativize: self::number('xxx') mod 3 | |
Xpath : number('xxx')=number('xxx') | |
Relativize: self::number('xxx')=number('xxx') | |
Xpath : 'okay' | |
Relativize: self::'okay' | |
Xpath : @ordering | |
Relativize: self::@ordering | |
Xpath : */p | |
Relativize: *a[name() = "b"] | |
Xpath : 'parent::*' | |
Relativize: self::'parent::*' | |
Xpath : @*/parent::* | |
Relativize: self::@*/parent::* | |
Xpath : @person | |
Relativize: self::@person | |
Xpath : @pos | |
Relativize: self::@pos | |
Xpath : *[position()=1] | |
Relativize: *self::[position()=1] | |
Xpath : *[position()=3] | |
Relativize: *self::[position()=3] | |
Xpath : *[position()=4] | |
Relativize: *self::[position()=4] | |
Xpath : 'preceding::*' | |
Relativize: self::'preceding::*' | |
Xpath : @*/preceding::* | |
Relativize: self::@*/preceding::* | |
Xpath : 'preceding-sibling::*' | |
Relativize: self::'preceding-sibling::*' | |
Xpath : @*/preceding-sibling::node() | |
Relativize: self::@*/preceding-sibling::node() | |
Xpath : 'pvar1 default data' | |
Relativize: self::'pvar1 default data' | |
Xpath : 'pvar2 default data' | |
Relativize: self::'pvar2 default data' | |
Xpath : '"eos' | |
Relativize: self::'"eos' | |
Xpath : 'red' | |
Relativize: self::'red' | |
Xpath : @repeat | |
Relativize: self::@repeat | |
Xpath : 'root' | |
Relativize: self::'root' | |
Xpath : round(0.0) | |
Relativize: self::round(0.0) | |
Xpath : round(-1.1)=-1 | |
Relativize: self::round(-1.1)=-1 | |
Xpath : round(1.1)=1 | |
Relativize: self::round(1.1)=1 | |
Xpath : round(1.24) | |
Relativize: self::round(1.24) | |
Xpath : round(-1.5) | |
Relativize: self::round(-1.5) | |
Xpath : round(1.5)=2 | |
Relativize: self::round(1.5)=2 | |
Xpath : round(-1.9)=-2 | |
Relativize: self::round(-1.9)=-2 | |
Xpath : round(1.9)=2 | |
Relativize: self::round(1.9)=2 | |
Xpath : round(2.5) | |
Relativize: self::round(2.5) | |
Xpath : round(-2.5)=-2 | |
Relativize: self::round(-2.5)=-2 | |
Xpath : round(2.999999) | |
Relativize: self::round(2.999999) | |
Xpath : round(n0) | |
Relativize: self::round(n0) | |
Xpath : round(n1) | |
Relativize: self::round(n1) | |
Xpath : round(n2) | |
Relativize: self::round(n2) | |
Xpath : round(number('xxx')) | |
Relativize: self::round(number('xxx')) | |
Xpath : @s | |
Relativize: self::@s | |
Xpath : @*/self::node() | |
Relativize: self::@*/self::node() | |
Xpath : @seq | |
Relativize: self::@seq | |
Xpath : 'set in var29side, should have highest precedence' | |
Relativize: self::'set in var29side, should have highest precedence' | |
Xpath : 'should be wrapped' | |
Relativize: self::'should be wrapped' | |
Xpath : @side | |
Relativize: self::@side | |
Xpath : @size | |
Relativize: self::@size | |
Xpath : @spot | |
Relativize: self::@spot | |
Xpath : starts-with('','') | |
Relativize: self::starts-with('','') | |
Xpath : starts-with('ab', 'abc') | |
Relativize: self::starts-with('ab', 'abc') | |
Xpath : starts-with('abc', '') | |
Relativize: self::starts-with('abc', '') | |
Xpath : starts-with('abc', 'bc') | |
Relativize: self::starts-with('abc', 'bc') | |
Xpath : starts-with(doc/@attr, 'slam') | |
Relativize: self::starts-with(doc/@attr, 'slam') | |
Xpath : starts-with(doc/@attr, 'wich') | |
Relativize: self::starts-with(doc/@attr, 'wich') | |
Xpath : starts-with(doc, 'ENCY') | |
Relativize: self::starts-with(doc, 'ENCY') | |
Xpath : starts-with(doc, 'test') | |
Relativize: self::starts-with(doc, 'test') | |
Xpath : starts-with('ENCYCLOPEDIA', 'en') | |
Relativize: self::starts-with('ENCYCLOPEDIA', 'en') | |
Xpath : starts-with('ENCYCLOPEDIA', 'EN') | |
Relativize: self::starts-with('ENCYCLOPEDIA', 'EN') | |
Xpath : starts-with('ENCYCLOPEDIA', 'ENCY') | |
Relativize: self::starts-with('ENCYCLOPEDIA', 'ENCY') | |
Xpath : *[starts-with(name(.),'f')] | |
Relativize: *self::[starts-with(name(.),'f')] | |
Xpath : starts-with('true()', 'tr') | |
Relativize: self::starts-with('true()', 'tr') | |
Xpath : @state | |
Relativize: self::@state | |
Xpath : 'string' | |
Relativize: self::'string' | |
Xpath : string('') | |
Relativize: self::string('') | |
Xpath : string() | |
Relativize: self::string() | |
Xpath : string(0) | |
Relativize: self::string(0) | |
Xpath : string(-1 * number(.)) | |
Relativize: self::string(-1 * number(.)) | |
Xpath : string(2) | |
Relativize: self::string(2) | |
Xpath : string(av//*) | |
Relativize: self::string(av//*) | |
Xpath : string(doc) | |
Relativize: self::string(doc) | |
Xpath : string(foo) | |
Relativize: self::string(foo) | |
Xpath : string('!From m!') | |
Relativize: self::string('!From m!') | |
Xpath : string('!From n!') | |
Relativize: self::string('!From n!') | |
Xpath : string('!From o!') | |
Relativize: self::string('!From o!') | |
Xpath : string('!From p!') | |
Relativize: self::string('!From p!') | |
Xpath : string('!From ss2!') | |
Relativize: self::string('!From ss2!') | |
Xpath : string('!From ss3!') | |
Relativize: self::string('!From ss3!') | |
Xpath : string('!From ss4!') | |
Relativize: self::string('!From ss4!') | |
Xpath : string('!From ss5!') | |
Relativize: self::string('!From ss5!') | |
Xpath : string-length () | |
Relativize: self::string-length () | |
Xpath : string-length(.) | |
Relativize: self::string-length(.) | |
Xpath : string-length() | |
Relativize: self::string-length() | |
Xpath : string-length(doc) | |
Relativize: self::string-length(doc) | |
Xpath : string-length(doc/a) | |
Relativize: self::string-length(doc/a) | |
Xpath : string-length(normalize-space(.)) | |
Relativize: self::string-length(normalize-space(.)) | |
Xpath : string-length('This is a test') | |
Relativize: self::string-length('This is a test') | |
Xpath : string(number(.)) | |
Relativize: self::string(number(.)) | |
Xpath : string('test') | |
Relativize: self::string('test') | |
Xpath : 'stylesheet-var' | |
Relativize: self::'stylesheet-var' | |
Xpath : 'subsheet, should be overridden by main sheet' | |
Relativize: self::'subsheet, should be overridden by main sheet' | |
Xpath : substring('1999/04/01', 1, 0) | |
Relativize: self::substring('1999/04/01', 1, 0) | |
Xpath : substring('1999/04/01', 1, 4) | |
Relativize: self::substring('1999/04/01', 1, 4) | |
Xpath : substring('abcdefghi',2,4) | |
Relativize: self::substring('abcdefghi',2,4) | |
Xpath : substring('abcdefghijk',0 div 0, 5) | |
Relativize: self::substring('abcdefghijk',0 div 0, 5) | |
Xpath : substring('abcdefghijk',4, 6) | |
Relativize: self::substring('abcdefghijk',4, 6) | |
Xpath : substring-after(.,'-') | |
Relativize: self::substring-after(.,'-') | |
Xpath : substring-after('1999/04/01', '/') | |
Relativize: self::substring-after('1999/04/01', '/') | |
Xpath : substring-after('1999/04/01', '1') | |
Relativize: self::substring-after('1999/04/01', '1') | |
Xpath : substring-after('abcdefghijk','l') | |
Relativize: self::substring-after('abcdefghijk','l') | |
Xpath : substring-after(doc, '/') | |
Relativize: self::substring-after(doc, '/') | |
Xpath : substring-after(doc/@attr, 'd') | |
Relativize: self::substring-after(doc/@attr, 'd') | |
Xpath : substring-after(doc/@attr, 'D') | |
Relativize: self::substring-after(doc/@attr, 'D') | |
Xpath : substring-after(doc/@attr, 'z') | |
Relativize: self::substring-after(doc/@attr, 'z') | |
Xpath : substring-after('ENCYCLOPEDIA', '/') | |
Relativize: self::substring-after('ENCYCLOPEDIA', '/') | |
Xpath : substring-after('ENCYCLOPEDIA', 'C') | |
Relativize: self::substring-after('ENCYCLOPEDIA', 'C') | |
Xpath : substring-after(foo, '/') | |
Relativize: self::substring-after(foo, '/') | |
Xpath : substring-before('1999/04/01', '/') | |
Relativize: self::substring-before('1999/04/01', '/') | |
Xpath : substring-before('a','z') | |
Relativize: self::substring-before('a','z') | |
Xpath : substring-before(doc, '/') | |
Relativize: self::substring-before(doc, '/') | |
Xpath : substring-before(doc/@attr, 'd') | |
Relativize: self::substring-before(doc/@attr, 'd') | |
Xpath : substring-before(doc/@attr, 'D') | |
Relativize: self::substring-before(doc/@attr, 'D') | |
Xpath : substring-before(doc/@attr, 'z') | |
Relativize: self::substring-before(doc/@attr, 'z') | |
Xpath : substring-before('ENCYCLOPEDIA', '/') | |
Relativize: self::substring-before('ENCYCLOPEDIA', '/') | |
Xpath : substring-before('ENCYCLOPEDIA', 'c') | |
Relativize: self::substring-before('ENCYCLOPEDIA', 'c') | |
Xpath : substring-before('ENCYCLOPEDIA', 'C') | |
Relativize: self::substring-before('ENCYCLOPEDIA', 'C') | |
Xpath : substring-before(foo, '/') | |
Relativize: self::substring-before(foo, '/') | |
Xpath : substring(doc, 1, 4) | |
Relativize: self::substring(doc, 1, 4) | |
Xpath : substring(doc/@attr, 1, 3) | |
Relativize: self::substring(doc/@attr, 1, 3) | |
Xpath : substring(doc/@attr, 2.5, 3.6) | |
Relativize: self::substring(doc/@attr, 2.5, 3.6) | |
Xpath : substring(doc/@attr, 4) | |
Relativize: self::substring(doc/@attr, 4) | |
Xpath : substring('ENCYCLOPEDIA', 8) | |
Relativize: self::substring('ENCYCLOPEDIA', 8) | |
Xpath : substring('ENCYCLOPEDIA', 8, 3) | |
Relativize: self::substring('ENCYCLOPEDIA', 8, 3) | |
Xpath : substring(foo, 2, 2) | |
Relativize: self::substring(foo, 2, 2) | |
Xpath : substring(@key,2,1) | |
Relativize: self::substring(@key,2,1) | |
Xpath : substring('x',2,1) | |
Relativize: self::substring('x',2,1) | |
Xpath : sum(a-set/a) | |
Relativize: self::sum(a-set/a) | |
Xpath : sum(e) | |
Relativize: self::sum(e) | |
Xpath : sum(n) | |
Relativize: self::sum(n) | |
Xpath : sum(n/@attrib) | |
Relativize: self::sum(n/@attrib) | |
Xpath : sum(x) | |
Relativize: self::sum(x) | |
Xpath : 'TableofContents' | |
Relativize: self::'TableofContents' | |
Xpath : 'templ' | |
Relativize: self::'templ' | |
Xpath : 'test' | |
Relativize: self::'test' | |
Xpath : @test | |
Relativize: self::@test | |
Xpath : *[@test][1]/num | |
Relativize: *self::[@test][1]/num | |
Xpath : *[@test][3]/num | |
Relativize: *self::[@test][3]/num | |
Xpath : *[@test][4]/num | |
Relativize: *self::[@test][4]/num | |
Xpath : *[@test and position()=1] | |
Relativize: *self::[@test and position()=1] | |
Xpath : *[@test and position()=4] | |
Relativize: *self::[@test and position()=4] | |
Xpath : *[@test and position()=7] | |
Relativize: *self::[@test and position()=7] | |
Xpath : *[@test and position()=8] | |
Relativize: *self::[@test and position()=8] | |
Xpath : 'Testing ' | |
Relativize: self::'Testing ' | |
Xpath : *[@test][position()=1]/num | |
Relativize: *self::[@test][position()=1]/num | |
Xpath : *[@test][position()=3]/num | |
Relativize: *self::[@test][position()=3]/num | |
Xpath : *[@test][position()=4]/num | |
Relativize: *self::[@test][position()=4]/num | |
Xpath : *[@test='true'] | |
Relativize: *self::[@test='true'] | |
Xpath : 'test value set in final' | |
Relativize: self::'test value set in final' | |
Xpath : 'test value set in impfinal' | |
Relativize: self::'test value set in impfinal' | |
Xpath : 'test value set in impmid' | |
Relativize: self::'test value set in impmid' | |
Xpath : 'test value set in mid' | |
Relativize: self::'test value set in mid' | |
Xpath : 'test value set in var27side' | |
Relativize: self::'test value set in var27side' | |
Xpath : ' #text' | |
Relativize: self::' #text' | |
Xpath : ./@theattrib | |
Relativize: self::@theattrib | |
Xpath : 'the same' | |
Relativize: self::'the same' | |
Xpath : 'this' | |
Relativize: self::'this' | |
Xpath : 'titi' | |
Relativize: self::'titi' | |
Xpath : @title | |
Relativize: self::@title | |
Xpath : 'Tommy' | |
Relativize: self::'Tommy' | |
Xpath : 'top' | |
Relativize: self::'top' | |
Xpath : translate("BAR","abc","ABC") | |
Relativize: self::translate("BAR","abc","ABC") | |
Xpath : translate("BAR","Rab","TxX") | |
Relativize: self::translate("BAR","Rab","TxX") | |
Xpath : translate("bar","RAB","xyz") | |
Relativize: self::translate("bar","RAB","xyz") | |
Xpath : translate("ddaaadddd","abcd","ABCxy") | |
Relativize: self::translate("ddaaadddd","abcd","ABCxy") | |
Xpath : translate("zzaaazzz","abcz","ABC") | |
Relativize: self::translate("zzaaazzz","abcz","ABC") | |
Xpath : translate(a,"abc","ABC") | |
Relativize: self::translate(a,"abc","ABC") | |
Xpath : translate(a/@attrib,"lo","IT") | |
Relativize: self::translate(a/@attrib,"lo","IT") | |
Xpath : translate(.,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ') | |
Relativize: self::translate(.,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ') | |
Xpath : translate(b,"ABC","abc") | |
Relativize: self::translate(b,"ABC","abc") | |
Xpath : translate(b/@attrib,"lo","it") | |
Relativize: self::translate(b/@attrib,"lo","it") | |
Xpath : translate(b/@attrib,"LO","it") | |
Relativize: self::translate(b/@attrib,"LO","it") | |
Xpath : true() | |
Relativize: self::true() | |
Xpath : true()='0' | |
Relativize: self::true()='0' | |
Xpath : true()=2 | |
Relativize: self::true()=2 | |
Xpath : true() and false() | |
Relativize: self::true() and false() | |
Xpath : true() and true() | |
Relativize: self::true() and true() | |
Xpath : true()!=false() | |
Relativize: self::true()!=false() | |
Xpath : true() or 1 div 0 | |
Relativize: self::true() or 1 div 0 | |
Xpath : true() or false() | |
Relativize: self::true() or false() | |
Xpath : true() or true() | |
Relativize: self::true() or true() | |
Xpath : 'US' | |
Relativize: self::'US' | |
Xpath : @val | |
Relativize: self::@val | |
Xpath : @value | |
Relativize: self::@value | |
Xpath : 'value set in var30mid, should have highest precedence' | |
Relativize: self::'value set in var30mid, should have highest precedence' | |
Xpath : @width | |
Relativize: self::@width | |
Xpath : 'Wizard' | |
Relativize: self::'Wizard' | |
Xpath : //@x | |
Relativize: descendant-or-self::@x | |
Xpath : ' x 4' | |
Relativize: self::' x 4' | |
Xpath : 'Xalan_URL_found' | |
Relativize: self::'Xalan_URL_found' | |
Xpath : @xml:att1 | |
Relativize: self::@xml:att1 | |
Xpath : @xx | |
Relativize: self::@xx | |
Xpath : @x|@z | |
Relativize: self::@x | self::@z | |
Xpath : @z | |
Relativize: self::@z | |
Xpath : 'z w x' | |
Relativize: self::'z w x' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment