xml_parser_create_ns

(PHP 4 >= 4.0.5)

xml_parser_create_ns --  Create an XML parser

Description

resource xml_parser_create_ns ( [string encoding [, string separator]])

xml_parser_create_ns() creates a new XML parser with XML namespace support and returns a reousurce handle referencing it to be used by the other XML functions.

With a namespace aware parser tag parameters passed to the various handler functions will consist of namespace and tag name seperated by the string specified in seperator or ':' by default.

The optional encoding specifies the character encoding of the XML input to be parsed. Supported encodings are "ISO-8859-1", wich is also the default if no encoding is specified, "UTF-8" and "US-ASCII".

See also xml_parser_create() and xml_parser_free().