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
> >> 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
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,
3 matches
Mail list logo