note 17551 deleted from function.xml-set-object by jimw

From: Date: Thu, 20 Dec 2001 23:56:24 +0000
Subject: note 17551 deleted from function.xml-set-object by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23611@lists.php.net to get a copy of this message
I was bugged (no pun intended) by the lack of proper class support for PHP's XML parser. I was lurking through the changelog, and apparently you can set your element and character handlers like such: xml_set_element_handler($this->parser, array(&$this, "StartElement"), array(&$this, "StopElement")); ... where array(&$this, "StartElement") is an array to the object and the method that should handle the starting XML element. (This array goes in place of the function name string). Using v4.0.6, It's working like a champ so far! YMMV. Eric

« previous php.notes (#23611) next »