(Q2) Find all the figures in chapters 2 through 5 of the document named "zoo.xml."
document("zoo.xml")/chapter[RANGE 2 TO 5]//figure
Introduces the "range predicate", an extension to XPath syntax
<<<
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
>>>