This function is used to configure the options selected for XML parsing. Parameter parser to parse code. Parameter option is the name of the option constant you want to configure, as shown in the following table (for example, xml_option_case_folding). Parameter value is the value you want to configure. Returns a true value if there are no errors, otherwise returns a value of false.
The option constant name type describes whether the xml_option_case_folding integer configuration allows case-folding, and the default value is the encoding type that allows xml_option_target_encoding string configuration, Iso-8859-1 , ASCII and UTF-8, etc.
Reference
Xml_parser_get_option ()
Want to use this function library to install Zlib First, can obtain this function library to http://www.cdrom.com/pub/infozip/zlib/to use this function library, need to go to Http://www.jclark.com/xml retrieve XML function library first, and compile or install it. Users with RedHat Linux can get RPM format files to http://www.guardian.no/~ssb/phpxml.html. Then add the--with-xml configuration options before compiling PHP. Tommy@nashville.net pointed out (12-jan-1999) If there is a problem, still need to put in Xmltok.h and xmlparse.h two C language header file, or set the environment variable.
The current version supports three character sets: ASCII, Iso-8859-1 and UTF-8. As for the UTF-16 character set PHP has not yet been supported.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.