[Expat-discuss] parsing XML

Bob Lee crazybob at crazybob.org
Mon Aug 20 04:45:07 CEST 2007


On 8/19/07, Roman Mashak <romez777 at gmail.com> wrote:
>
> So, I think I need to register callback function for start tags and try to
> do what I want in there. But how can I get the values of tags, which
> 'expat'
> functions to use? Or there's another, more simple way?


SetCharacterDataHandler:
http://www.xml.com/pub/a/1999/09/expat/index.html?page=3#chardatahandler

Note that you may get more than one callback for the same element body in
which case it's up to you to concatenate the results.

Bob


More information about the Expat-discuss mailing list