PHP xml_set_start_namespace_decl_handler() Function
Definition and Usage
The xml_set_start_namespace_decl_handler() function sets up the start namespace declaration handler.
This function specifies what function to be called when a namespace is declared.
Note: The handler parameter can also be an array containing an object reference and a method name.
Syntax
xml_set_start_namespace_decl_handler(parser, handler)
Parameter Values
Parameter | Description |
---|---|
parser | Required. Specifies the XML parser to use |
handler | Required. Specifies a function to be used as an event handler. The function must have three parameters:
|
Technical Details
Return Value: | TRUE on success. FALSE on failure |
---|---|
PHP Version: | 4.0.5 |
❮ PHP XML Parser Reference