Current Location: Home> Function Categories> xml_set_end_namespace_decl_handler

xml_set_end_namespace_decl_handler

Set the end namespace declaration handler
Name:xml_set_end_namespace_decl_handler
Category:XML parser
Programming Language:php
One-line Description:Set the end namespace declaration handler.

Definition and usage

xml_set_end_namespace_decl_handler() function is used to set the end namespace declaration handler.

This function specifies the function to be called when leaving the namespace declaration scope. For each namespace declaration, this function is called after the end tag handler for the element of the namespace is declared.

Note: The handler parameter can also be an array containing object references and method names.

grammar

 xml_set_end_namespace_decl_handler ( parser , handler )
parameter describe
parser Required. Specify the XML parser to use
Handler

Required. Specifies the function used as the event handler. The function must have two parameters:

  • $parser - Variable containing the XML parser that calls the handler
  • $prefix - A variable containing a string that references a namespace in an XML object
Similar Functions
Popular Articles