Re: Fwd: Pull parsing with Expat?
Tom Younger <[email protected]>
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
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.