If I remember well you can pass an array with object as the first
element, function name as second:
xml_set_element_handler($xml_parser,
array($this,'startElement'),array($this,'endElement'));
Robert Fitzpatrick wrote:
I have a class that receives an XML response from a HTTP request and I am
t
I have a class that receives an XML response from a HTTP request and I am
trying to parse the XML after receiving it. The problem I'm having is the
error when trying to use xml set handlers, such as
'xml_set_element_handler'. It seems the class is having trouble seeing the
handler functions. For in
2 matches
Mail list logo