Re: parsing XML

"Bob Lee" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
On 8/19/07, Roman Mashak <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.