xml_parser_set_option
int xml_parser_set_option(resource parserID, int option, mixed optionvalue)
parserID | Reference to a valid parser |
option | XML parser option |
optionvalue | Option value |
Sets the specified XML parser option.
Returns:
TRUE on success; FALSE on error
Description:
The following table describes the possible options for this function.
Option | Datatype | Description |
---|---|---|
XML_OPTION_CASE_FOLDING | integer | Sets case folding on/off. Case folding is where the parser turns all lowercase XML tags into uppercase tags. The default setting is enabled (1). |
XML_OPTION_TARGET_ENCODING | string | Sets the character encoding. Possible values are "US_ASCII", "ISO-8859-1" (the default) and "UTF-8". |
XML_OPTION_SKIP_WHITE | integer | Allows the parser to skip whitespace ... |
Get PHP Functions Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.