[XML-SIG] never mind.. (was Re: questions on pyexpat usage - CdataSectionHandler? )
Anthony Baxter
Anthony Baxter <anthony@interlink.com.au>
Wed, 31 May 2000 13:53:36 +1000
Never mind, I figured out what's going on - it's calling the CharacterDataHandler
for the actual data.
Sorry for the noise.
Anthony
>>> Anthony Baxter wrote
> I'm trying to figure out how to use pyexpat's CdataSectionHandler
>
> If I create small methods and assign them to parser.StartCdataSectionHandler
> and parser.EndCdataSectionHandler, they get called correctly, but with no
> arguments. How do you retrieve the actual data from the CDATA section?
>
> A DefaultHandler only sees the open and closing CDATA tags, nothing else.
>
> I'd RTFM but there doesn't seem to be a FM. The source was unhelpful...
>
> thanks,
> Anthony
--
Anthony Baxter <anthony@interlink.com.au>
It's never too late to have a happy childhood.