xml (expat) character data handler and CR/LF
| From: | Marc Logemann | Date: | Sat, 01 Jul 2000 21:15:41 +0000 |
| Subject: | xml (expat) character data handler and CR/LF | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4299@lists.php.net to get a copy of this message | ||
Hi,
i am just writing an parser for RDF DTD. I am having problems with CR/LF
within xml data fields. My callback function characterData() will be
called
as much times as CR/LFs are in the data-field. This makes my job
to organize data of different elements in arrays more complicated,
because now i cant rely on the fact that i have one data-handler call
for
one element...
Is there a way to tell expat not to leave CharacterData function upon
CR/LF
appearance? Or must i code it on my own to handle this situation?
environment: php4, exapt, linux
thx
Loge