September 2001
Intermediate to advanced
768 pages
32h 45m
English
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 ... |
Read now
Unlock full access