September 2001
Intermediate to advanced
768 pages
32h 45m
English
mixed xml_parser_get_option(resource parserID, int option)
| parserID | Reference to a valid parser |
| option | XML parser option |
Gets a parser option setting.
Returns:
Option as mixed
Description:
Returns option if the option was set; this function returns FALSE if the option was not set or the parser was invalid. Possible options include XML_OPTION_CASE_FOLDING, XML_OPTION_SKIP_WHITE, XML_OPTION_SKIP_TAGSTART, and XML_OPTION_TARGET_ENCODING. See xml_parser_set_option() for details on options.
Version:
PHP 3 >= 3.0.6, PHP 4 >= 4.0b1
Example:
$xmlparser = xml_parser_create(); print "XML character Encoding: " . xml_parser_get_option($xmlparser, XML_OPTION_TARGET_ENCODING); xml_parser_free($xmlparser); ... |
Read now
Unlock full access