[thelist] xml_parse PHP
Jay Blanchard
jay.blanchard at THERMON.com
Tue Nov 1 16:11:55 CST 2005
[snip]
Warning: xml_parse(): Unable to call handler startElement() in \testXML.php
Warning: xml_parse(): Unable to call handler characterData() in \testXML.php
Warning: xml_parse(): Unable to call handler endElement() in \testXML.php
If I remove the if statement completely, the XML parses - Yes, the value
"joe" is in the array.
[/snip]
You say that the parser works without this? You're making calls to these
handlers before they exist, so it should break all of the time. Move the
functions for each handler above the parser call.
More information about the thelist
mailing list