note 32375 rejected from function.xslt-set-sax-handlers by didou

From: Date: Mon, 26 May 2003 06:37:34 +0000
Subject: note 32375 rejected from function.xslt-set-sax-handlers by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49014@lists.php.net to get a copy of this message
Note Submitter: aresng74@yahoo.com ---- 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.

« previous php.notes (#49014) next »