In streaming mode, it's really hard to get XPath support built in. In
tree mode, DOM Level 2 doesn't give you all the info you need to fully
implement XPointer. Possibly you could do this with Xerces extensions to
the DOM. XOM does provide full support for XInclude including XPointers
(though not the xpointer scheme) because I built in the pieces that were
missing in DOM, but that's not going to speed anything up or integrate
that well with a pure Xerces chain.
--
Elliotte Rusty Harold
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim