[PHP] XML Parser set option

2005-12-20 Thread Amol Hatwar
Hi, The PHP Manual entry for xml_parser_set_option lists an option called: XML_OPTION_SKIP_WHITE. I really couldn't decipher what this option enables or disables. The manual entry itself is a bit terse: "Whether to skip values consisting of whitespace characters." Doodling around with it in code

Re: [PHP] Callbacks in XML Parser

2005-12-18 Thread Amol Hatwar
> >> xml_set_element_handler > >> ( > >> $parser, > >> array( $this, 'xml_start_element' ), > >> array( $this, 'xml_stop_element' ) > >> ); > >> Thanks for helping me out :). Warm regards, ah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP] Callbacks in XML Parser

2005-12-17 Thread Amol Hatwar
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,