If you're going to query a single document multiple times, see the class CachedXPathAPI. If I remember correctly, its javadoc summarizes the issues involved.
- XPathAPI performance problems Eric Chijioke
- Re: XPathAPI performance problems Scott Boag/CAM/Lotus
- RE: XPathAPI performance problems joseph_kesselman
- RE: XPathAPI performance problems Walsh, Eric
- RE: XPathAPI performance problems joseph_kesselman
- RE: XPathAPI performance problems Walsh, Eric
- Re: XPathAPI performance problems Eric Chijioke
- Compiled Translets and Templates Peter de Rama
- RE: XPathAPI performance problems joseph_kesselman
- RE: XPathAPI performance problems Walsh, Eric
- RE: XPathAPI performance problems Shane Curcuru
- RE: XPathAPI performance problems Walsh, Eric
- RE: XPathAPI performance problems Eric Chijioke
