PHP xml_parser_set_option() Functie
Voorbeeld
Stel een optie in de XML-parser in:
<?php
$parser=xml_parser_create();
xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
xml_parser_free($parser);
?>
Definitie en gebruik
De functie xml_parser_set_option() stelt opties in een XML-parser in.
Syntaxis
xml_parser_set_option(parser, option, value)
Parameterwaarden
Parameter | Description |
---|---|
parser | Required. Specifies the XML parser to use |
option | Required. Specifies the option to set. Possible values:
|
value | Required. Specifies options new value |
Technische details
Winstwaarde: | WAAR op succes. ONWAAR bij fout |
---|---|
PHP-versie: | 4.0+ |
❮ PHP XML Parser Referentie