xml_parser_create

(PHP 3>= 3.0.6, PHP 4 >= 4.0b1)

xml_parser_create -- create an XML parser

Description

int xml_parser_create ([string encoding])

encoding (optional)

Which character encoding the parser should use. The following character encodings are supported:

ISO-8859-1 (default)
US-ASCII
UTF-8

This function creates an XML parser and returns a handle for use by other XML functions. Returns FALSE on failure.