note 27078 deleted from ref.xml by nicos
| From: | nicos@php.net | Date: | Sun, 04 May 2003 18:02:21 +0000 |
| Subject: | note 27078 deleted from ref.xml by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47507@lists.php.net to get a copy of this message | ||
i found "SAX" tree by jon at gettys dot org very handy
I made some adjustments to the characterData function to accept large text blocks
function characterData($parser, $data) {
global $obj;
eval('$test=isset('.$obj->tree.'->data);');
if ( $test )
eval( $obj->tree.'->data.=\''.$data.'\';');
else
eval( $obj->tree.'->data=\''.$data.'\';');
}