Partly because of low acceptance of xpointer syntax among some elements
of our programming staff I ended up writing a partial instance-based
query module instead of using xpointers in CBL. It seemed to me that
xpointers were okay for pointing into the tree one step at a time, but
weren't designed to do what you want; however, a query should be able
to do so. So maybe you're barking up the wrong tree and will have
to await whatever the W3C does with XML queries.
regards, Terry Allen
Terry Allen Veo Systems, Inc.
Business Language Designer 2440 W. El Camino Real
tallen[at]sonic.net Mountain View, Calif., 94040
Common Business Library - available at http://www.veosystems.com/