Re: Parsing CDATA section
"Marco Forberg" <[email protected]>
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
>Have you tried SetCdataSectionHandler? ( >> http://www.xml.com/pub/a/1999/09/expat/index.html?page=3#cdatahandler) > > >Well, i went through that, but could not figure out how i can proceed . > >I haven't myself--I just assumed Expat would treat CDATA sections just like >> any other XML text. > > >That's true. > >Ramprasad B Expat treats CDATA as any other text BUT calls the cdata start and end handlers before and after it passes your text to the text handler. So the the order of the calls would be the following: CDATA section start handler Text handler <-- this is your CDATA CDATA section end handler