It's not an open source library, but DataDirect XQuery does something
very similar to what you are looking for, and not just for XPath, but
for XQuery processing, through a technique called XML Streaming.
See
http://www.datadirect.com/products/xquery/ddxq_technical_overview/index.ssp
for a technical overview of the product.
Minollo
http://www.datadirect.com/xquery
http://www.stylusstudio.com
At 10:50 AM 9/29/2006, Stefan Tilkov wrote:
>Is there something like this? If so, how is it implemented? Is it
>even reasonable?
>
>To clarify: I'm looking for approaches - preferably available in the
>form of an open source library - that allow for running XPath
>expressions against an XML document without the memory requirements
>of creating a full tree in RAM.
>
>Any pointers would be greatly appreciated.
>
>Stefan Tilkov