<?php
class my_xslt_processor {
var $_xh; function my_xslt_processor()
{
$this->_xh = xslt_create();
xslt_set_object($this->_xh, $this);
xslt_set_error_handler($this->_xh, "my_xslt_error_handler");
}
function my_xslt_error_handler($handler, $errno, $level, $info)
{
var_dump(func_get_args());
}
}
?>
|