>
> What you describe in the above para is pretty much exactly
> what Amara's pushbind and pushdom allow, and the trimxml tool
> that John L. Clark mentions, exposes this approach on the
> command line. They use a subset of XSLT patterns (which are
> themselves a subset of XPath, as defined int he XSLT 1.0
> spec) to drive a streamable operation that only loads into
> memory one subtree at a time from a larget document.
Saxon also allows streamed evaluation of a subset of XPath expressions. The
facility, and the XPath subset, are described at
http://www.saxonica.com/documentation/sourcedocs/serial.html
Michael Kay
http://www.saxonica.com/