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

From
Alan Gutierrez <>
To
Michael Kay <>, 'David Megginson' <>,
Date
2004-12-25T10:39:22Z
ID
<>
Thread
Re: [xml-dev] XPath and XPattern (was Re: [xml-dev] More on taming SAX)
* Alan Gutierrez <> [2004-12-25 04:48]:
> * 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.

    Skip this. My reading is caught up. You are talking about
    storing the any node on the child axis where position() = 1.

    Sorry.

--
Alan Gutierrez -