Re: [PHP] References & Object XML-Parser

2001-05-16 Thread Peter Dudley
I am new to PHP's OO (though not to OO or to PHP), but here's a fix and my assessment of why it works: In your tag functions, you need to change the $this reference to instead refer to your $xml_parser object, thus: function tag_open($parser,$tag,$attributes) { global $xml_parser;

[PHP] References & Object XML-Parser

2001-05-16 Thread Mirek Novak
Hi, I'm new to this list, and was forced to join because of following problem, BTW searching through the archive ended without any useable results. The problem is in following code - which is little extended source from example in manual entry for xml_set_object() function. I've added one member