| 
 | xslt_set_error_handlerSet an error handler for a XSLT processor Description
   void xslt_set_error_handler
    ( resource  $xh, mixed$handler)
   Set an error handler function for the XSLT processor given by
    Parameters
 
 Return ValuesNo value is returned. ExamplesExample #1 xslt_set_error_handler Example 
<?phpThe above example will output something similar to: 
array(4) {
  [0]=>
  resource(1) of type (XSLT Processor)
  [1]=>
  int(3)
  [2]=>
  int(0)
  [3]=>
  array(6) {
    ["msgtype"]=>
    string(5) "error"
    ["code"]=>
    string(1) "2"
    ["module"]=>
    string(9) "Sablotron"
    ["URI"]=>
    string(9) "arg:/_xml"
    ["line"]=>
    string(1) "4"
    ["msg"]=>
    string(34) "XML parser error 7: mismatched tag"
  }
}
See Also
 
 |