Re: [xml-dev] XPath and XPattern (was Re: [xml-dev] More on taming SAX)

From
Wolfgang Hoschek <>
To
Michael Kay <>
Date
2004-12-23T23:27:46Z
ID
<>
Thread
Re: [xml-dev] XPath and XPattern (was Re: [xml-dev] More on taming SAX)
For what it's worth, there's some documentation on 
applicability/limitations/usage scenarios of a streaming path filter at 
http://dsd.lbl.gov/nux/api/nux/xom/xquery/StreamingPathFilter.html

It's pretty much one of the simplest approach one could possibly take 
but nonetheless quite useful.

It supports the child axis only, but hands fully built element subtrees 
to an application defined callback handler, which makes writing even 
complex handlers rather straightforward.

Wolfgang.


On Dec 23, 2004, at 2:12 PM, Michael Kay wrote:

>> There's also the question of context -- would the only context be the
>> stack, or do people hope to have access to left siblings as well?
>
> I found it very useful also to have a one-event lookahead.
>