|
xslt_set_sax_handlers
Set the SAX handlers to be called when the XML document gets processed
(PHP 4 >= 4.0.6)
xslt_set_sax_handlers() registers the SAX handlers for the document, given a XSLT processor resource. Using xslt_set_sax_handlers() doesn't look very different than running a SAX parser like xml_parse() on the result of an xslt_process() transformation. Parameters
ExamplesExample 2668. xslt_set_sax_handlers() Example<?php You can also use xslt_set_object() if you want to implement your handlers in an object. Example 2669. Object oriented handler<?php Both examples will output: <livre> |
Change Languagexslt_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 |