//node[5-10]

Timo Nentwig

Usenet Archive
Joined
Sep 21, 2002
Messages
195
Reaction score
0
Hi!

//node may match 20 nodes but I'm only interested in node 5 to node 10. Is there any syntax to match only those nodes?

Timo
 

Richard Tobin

Usenet Archive
Joined
Jan 6, 2000
Messages
4,251
Reaction score
0
Timo Nentwig said:
//node may match 20 nodes but I'm only interested in node 5 to node 10. Is there any syntax to match only those nodes?

(//node)[position >= 5 and position <= 10]

-- Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,799
Members
249,594
Latest member
henrywalsh

Latest Threads

Top