dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

xslt_set_sax_handlers> <xslt_set_object
[edit] Last updated: Fri, 28 Jun 2013

view this page in

xslt_set_sax_handler

(PHP 4 >= 4.0.3)

xslt_set_sax_handlerSet SAX handlers for a XSLT processor

Description

void xslt_set_sax_handler ( resource $xh , array $handlers )

Set SAX handlers on the resource handle given by xh.

Parameters

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
)

Return Values

No value is returned.



add a note add a note User Contributed Notes xslt_set_sax_handler - [1 notes]

 
show source | credits | stats | sitemap | contact | advertising | mirror sites