xml_set_start_namespace_decl_handler
xml_set_start_namespace_decl_handler
(PHP 4 >= 4.0.5, PHP 5, PHP 7)
xml_set_start_namespace_decl_handler — Set up start namespace declaration handler
Description
bool xml_set_start_namespace_decl_handler ( resource $parser , callable $handler )
Set a handler to be called when a namespace is declared. Namespace declarations occur inside start tags. But the namespace declaration start handler is called before the start tag handler for each namespace declared in that start tag.