(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: 
  
      
      
      	parser
    	
 
    	A reference to the XML parser to set up start and end element handler functions.
      	start_element_handler
    	
 
    	 The function named by start_element_handler must accept three parameters: 
 start_element_handler ( resource 
      
      $parser , string $name , array $attribs )
      	end_element_handler
    	
 
    	 The function named by end_element_handler must accept two parameters: 
 end_element_handler ( resource 
      
    
      $parser , string $name )Returns: 
     Returns TRUE on success or FALSE on failure. 
Please login to continue.