XSLT (PHP 4) 函数
在线手册:中文  英文

xslt_set_sax_handler

(PHP 4 >= 4.0.3)

xslt_set_sax_handlerSet 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

XSLT 处理器连接标识符,由 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
)

返回值

没有返回值。


XSLT (PHP 4) 函数
在线手册:中文  英文

用户评论:

jas1298 at ecs dot soton dot ac dot uk (2002-03-04 12:55:32)

This function appears to be superseded (from 4.0.6) by http://www.php.net/manual/en/function.xslt-set-sax-handlers.php

易百教程