summaryrefslogtreecommitdiff
path: root/jni/ruby/test/rexml/data/xp.tst
blob: 6551372575df94da2a58efaf8327676d3c330e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/
/rss
//rss
/rss/channel
//link
//image/*
//link[2]
//link[last()]
rss/channel/link[last()]
rss/channel/item/link[last()]                 
rss/channel/item/link[1]                          
rss/channel/item[@x='1']              
rss/channel/item[@x]                  
//item[@x]                            
//item[normalize-space(@name)='x']              
//*[count(title)=1]                           
//*[name()='link']                    
//*[starts-with(name(),'li')]           
//*[contains(name(),'y')]                       
//*[string-length(name()) = 4]              
//copyright | //title                       
/child::rss                                   
/descendant::*                              
//language/parent::*                          
/rss/channel/ancestor::*                          
//item[position() mod 2 = 0 ]
//item/ancestor::*