• PHP Video Tutorials

XML Set Start Namespace Decl Handler



Syntax

bool xml_set_start_namespace_decl_handler ( resource $parser , callable $handler )

Definition and Usage

It used to set up start namespace declaration handler

Return Values

It returns True on success or false on failure

Parameters

Sr.No Parameters & Description
1

Parser

A reference to the XML parser to use inside the object.

2

Handler

It is used to specifies name of function that must exist when xml_parse()

The handler must have below functions

Sr.No Parameters & Description
1

parser

Specifies a variable containing the XML parser calling the handler

2

target

Specifies a variable containing processing instruction target

3

uri

Uniform Resource Identifier (URI) of namespace.

php_function_reference.htm
Advertisements