The start of the CDATA section triggers the CdataStart handler, the end the CdataEnd handler, and the content is caught by the Char handler. So all you need is to set a flag when the CDATA section starts, then capture characters while the flag is set, then unset the flag at the end of the section.
Now for some unwanted advice:
In reply to Re: CDATA Parsing for XML::Parser
by mirod
in thread CDATA Parsing for XML::Parser
by ScottShea
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |