Its $this->startElement().

That was a typo. I typed the error message instead of copying and pasting
it. Sorry.

-----Original Message-----
From: Jay Blanchard [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 07, 2003 1:26 PM
To: Donald Tyler; [EMAIL PROTECTED]
Subject: RE: [PHP] XMl Parsing within PHP

[snip]
xml_set_element_handler($this->xml_parser, '$this->startElement',
"$this->endElement");
xml_set_character_data_handler($this->xml_parser,
"$this->valueHandler");

I get an error message:

Warning: xml_parse(): Unable to call handler $thiss->startElement() in
c:\program files\apache group\php\My_includes\Class.xmlTranslator.php on
line 90
[snip]

Is the handler called $thiss->startElement() or $this->startElement?

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


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

Reply via email to