note 32375 added to function.xslt-set-sax-handlers

From: Date: Mon, 26 May 2003 06:33:29 +0000
Subject: note 32375 added to function.xslt-set-sax-handlers
Groups: php.notes 
Request: Send a blank email to php-notes+get-49013@lists.php.net to get a copy of this message
found this in 4.3.1 source, written by Sterling Hughes <sterling@php.net>. hope someone can benefit. void xslt_set_sax_handlers(resource processor, array handlers) Registers the SAX handlers for the document, given a XSLT processor resource (allocated by xslt_create()) and an array in the following format: array( "document" => array(document_start_function, document_end_function), "element" => array(element_start_function, element_end_function), "namespace" => array(namespace_start_function, namespace_end_function), "comment" => function, "pi" => function, "character" => function ) Where the functions follow the syntax described for the scheme handler functions. Each of the individual SAX handler functions are in the format below: void start_doc(resource processor) void end_doc(resource processor) void start_element(resource processor, string name, array attributes) void end_element(resource processor, string name) void start_namespace(resource processor, string prefix, string uri) void end_namespace(resource processor, string prefix) void comment(resource processor, string contents) void pi(resource processor, string target, string contents) after I try out on windows, comment and pi seem like not working. ---- Manual Page -- http://www.php.net/manual/en/function.xslt-set-sax-handlers.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32375 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32375&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32375&report=yes

« previous php.notes (#49013) next »