xml_set_start_namespace_decl_handler

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Set up start namespace declaration handler 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. Parameters:

xml_set_processing_instruction_handler

(PHP 4, PHP 5, PHP 7) Set up processing instruction (PI) handler bool xml_set_processing_instruction_handler ( resource $parser, callable $handler ) Sets the processing instruction (PI) handler function for the XML parser parser. A processing instruction has the following format: <? target data?> ?> Parameters: parser A reference to the XML parser

xml_set_object

(PHP 4, PHP 5, PHP 7) Use XML Parser within an object bool xml_set_object ( resource $parser, object &$object ) This function allows to use parser inside object. All callback functions could be set with xml_set_element_handler() etc and assumed to be methods of object. Parameters: parser A reference to the XML parser to use inside the object. ob

xml_set_notation_decl_handler

(PHP 4, PHP 5, PHP 7) Set up notation declaration handler bool xml_set_notation_decl_handler ( resource $parser, callable $handler ) Sets the notation declaration handler function for the XML parser parser. A notation declaration is part of the document's DTD and has the following format: <!NOTATION <parameter>name</parameter> { <parameter>systemId</parameter> | <parameter>publicId</p

xml_set_external_entity_ref_handler

(PHP 4, PHP 5, PHP 7) Set up external entity reference handler bool xml_set_external_entity_ref_handler ( resource $parser, callable $handler ) Sets the external entity reference handler function for the XML parser parser. Parameters: parser A reference to the XML parser to set up external entity reference handler function. handler hand

xml_set_end_namespace_decl_handler

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Set up end namespace declaration handler bool xml_set_end_namespace_decl_handler ( resource $parser, callable $handler ) Set a handler to be called when leaving the scope of a namespace declaration. This will be called, for each namespace declaration, after the handler for the end tag of the element in which the namespace was declared. Parameters: par

xml_set_element_handler

(PHP 4, PHP 5, PHP 7) Set up start and end element handlers bool xml_set_element_handler ( resource $parser, callable $start_element_handler, callable $end_element_handler ) Sets the element handler functions for the XML parser. start_element_handler and end_element_handler are strings containing the names of functions that must exist when xml_parse() is called for parser. Parameters:

xml_set_default_handler

(PHP 4, PHP 5, PHP 7) Set up default handler bool xml_set_default_handler ( resource $parser, callable $handler ) Sets the default handler function for the XML parser parser. Parameters: parser A reference to the XML parser to set up default handler function. handler handler is a string containing the name of a function that must exist

xml_set_character_data_handler

(PHP 4, PHP 5, PHP 7) Set up character data handler bool xml_set_character_data_handler ( resource $parser, callable $handler ) Sets the character data handler function for the XML parser parser. Parameters: parser A reference to the XML parser to set up character data handler function. handler handler is a string containing the name of

xml_parser_set_option

(PHP 4, PHP 5, PHP 7) Set options in an XML parser bool xml_parser_set_option ( resource $parser, int $option, mixed $value ) Sets an option in an XML parser. Parameters: parser A reference to the XML parser to set an option in. option Which option to set. See below. The following options are available: XML parser options Option cons