Clay:

On Wed, Jul 03, 2002 at 02:20:56AM -0700, Clay Loveless wrote:
> 
>         xml_set_element_handler(
>             $this->xmlparser,
>             array($this,"_xml_start_element"),
>             array($this,"_xml_end_element"));
>         xml_set_character_data_handler(
>             $this->xmlparser,
>             array($this,"_xml_character_data"));

Without getting into all of the other potential issues in your code, allow
me to quickly point out that the function name parameters to the
set_*_handler() are supposed to be strings.  The string is to be the name
of the function.  So, for example, do this:

  xml_set_character_data_handler($this->xmlparser, '_xml_character_data');

Now, I'm not guaranteeing this will cause the function to become part of 
the class, but at least the function will be properly initiated.

--Dan

-- 
               PHP classes that make web design easier
        SQL Solution  |   Layout Solution   |  Form Solution
    sqlsolution.info  | layoutsolution.info |  formsolution.info
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Av #4AJ, Brooklyn NY     v: 718-854-0335     f: 718-854-0409

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

Reply via email to