note 31462 deleted from ref.xml by danbrown

From: Date: Wed, 03 Mar 2010 18:44:29 +0000
Subject: note 31462 deleted from ref.xml by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-166601@lists.php.net to get a copy of this message
Note Submitter: fred at barron dot com ---- regarding jon at gettys dot org's nice XML to Object code, I've made some useful changes (IMHO) to the characterData function... my minor modifications allow multiple lines of data and it escapes quotes so errors don't occur in the eval... function characterData($parser, $data) { global $obj; $data = addslashes($data); eval($obj->tree."->data.='".$data."';"); }

« previous php.notes (#166601) next »