note 37902 added to function.xml-set-character-data-handler

From: Date: Mon, 01 Dec 2003 21:38:07 +0000
Subject: note 37902 added to function.xml-set-character-data-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-61231@lists.php.net to get a copy of this message
I just want to mention that i ran into a problem when parsing an xml file using the character data handler. If you happen to have a string which is also an internal php function stored in your xml data file and you want to output it as a string the parser dosent seem to recognize it. I found a way around this problem. In my case i was storing a string with the value read. This would not allow me to output the data so to work around this problem i added a backslash for every character in the data element. e.g. <xml> from <element>read</element> to <element>////read</element> i dont know if anyone has ran into this problem or not but i thought i would just put it here just so in case someone is getting stuck with this. ---- Manual Page -- http://www.php.net/manual/en/function.xml-set-character-data-handler.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37902 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37902&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37902&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61231) next »