Callbacks in XML Parser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux