[Expat-discuss] Fwd: Pull parsing with Expat?
Tom Younger
tom at abc123.dowco.com
Sun Nov 5 00:10:57 CET 2006
On Fri, 3 Nov 2006, Jonathan Claggett wrote:
>
> Let me give you an example of
> > where I think this would be a bad idea, and you tell me what you
> > think...
> >
> > If the data looked liked this:
> > <Tag1>First bit of Tag1 data
> > <Tag2>Some tag2 data</Tag2>
> > Additional Tag1 data
> > <Tag3/>
> > Yet more Tag1 data
> > </Tag1>
> >
> > What particular set of tokens would you expect to receive from this XML
> > file?
>
I solved essentially the same problem by using a stack of callback
handlers.
More information about the Expat-discuss
mailing list