Callbacks in XML Parser
| From: | Amol Hatwar | Date: | Sat, 17 Dec 2005 17:16:29 +0000 |
| Subject: | Callbacks in XML Parser | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-227577@lists.php.net to get a copy of this message | ||
Hi,
Is there a way in PHP5 where I can use the xml_parser's
xml_set_element_handler() inside a class definition like so:
xml_set_element_handler($this->xmlParser, "$this->startTag",
"$this->endTag");
For me, this code doesn't seem to work. I have to use functions in the
global scope.
Regards,
ah