do you know to do XQuery query for selection of content between two singleton tags, e.g.
<pb n="1"/>
this is <foo>page</foo> number one
<pb n="2"/>
this is <bar>page</bar> number two
<pb n="3"/>
this is <x>page</x> number three
and I want for example content of second page, so between <pb n="2"/> and next <pb/>. Output should be then:
this is <bar>page</bar> number two
You can do this using
following-siblingtogether with the<<operator, like this:HTH!