xslt_set_sax_handler
(PHP 4 >= 4.0.3)
xslt_set_sax_handler — Set SAX handlers for a XSLT processor
Описание
void xslt_set_sax_handler
( resource $xh
, array $handlers
)
Set SAX handlers on the resource handle given by xh .
Список параметров
- xh
-
The XSLT processor link identifier, created with xslt_create().
- handlers
-
SAX handlers should be a two dimensional array with the format (all top level elements are optional):
array(
[document] =>
array(
start document handler,
end document handler
),
[element] =>
array(
start element handler,
end element handler
),
[namespace] =>
array(
start namespace handler,
end namespace handler
),
[comment] => comment handler,
[pi] => processing instruction handler,
[character] => character data handler
)
Возвращаемые значения
Эта функция не возвращает значения после выполнения.
[an error occurred while processing the directive]
- xslt_backend_info
- xslt_backend_name
- xslt_backend_version
- xslt_create
- xslt_errno
- xslt_error
- xslt_free
- xslt_getopt
- xslt_process
- xslt_set_base
- xslt_set_encoding
- xslt_set_error_handler
- xslt_set_log
- xslt_set_object
- xslt_set_sax_handler
- xslt_set_sax_handlers
- xslt_set_scheme_handler
- xslt_set_scheme_handlers
- xslt_setopt
Коментарии
This function appears to be superseded (from 4.0.6) by function.xslt-set-sax-handlers