note 114612 added to xsltprocessor.registerphpfunctions

From: Date: Wed, 12 Mar 2014 11:48:45 +0000
Subject: note 114612 added to xsltprocessor.registerphpfunctions
Groups: php.notes 
Request: Send a blank email to php-notes+get-198868@lists.php.net to get a copy of this message
Hi, I have a generic query, please let me know - Suppose here is the xsl file "Name.xsl" having the line <xsl:value-of select="php:function(\'testfunction\',$myVar)"/> Now, where the function "testfunction" definition should be written? in the same file i.e. "Name.xsl" as mentioned above or somewhere else? If the function would be in some other .php file then how can I attach those file to XSL file? Please answer me, I hope you guys have a very good knowledge about php and XSL. ---- Server IP: 72.52.91.14 Probable Submitter: 182.71.44.133 ---- Manual Page -- http://php.net/manual/en/xsltprocessor.registerphpfunctions.php Edit -- https://master.php.net/note/edit/114612 Del: integrated -- https://master.php.net/note/delete/114612/integrated Del: useless -- https://master.php.net/note/delete/114612/useless Del: bad code -- https://master.php.net/note/delete/114612/bad+code Del: spam -- https://master.php.net/note/delete/114612/spam Del: non-english -- https://master.php.net/note/delete/114612/non-english Del: in docs -- https://master.php.net/note/delete/114612/in+docs Del: other reasons-- https://master.php.net/note/delete/114612 Reject -- https://master.php.net/note/reject/114612 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198868) next »