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

From
Alan Gutierrez <>
To
Michael Kay <>
Date
2004-12-25T09:48:47Z
ID
<>
Thread
Re: [xml-dev] XPath and XPattern (was Re: [xml-dev] More on taming SAX)
* Michael Kay <> [2004-12-23 17:13]:
> > 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.

    Do you do this using SAX? I'm assuming you are referring to the
    early Saxon engine.
    
    I'd imagine you would keep an event buffer, in order to do
    lookahead, but you'd have to make copies of the characters
    events, which isn't such a big deal.

--
Alan Gutierrez -