note 114613 added to xsltprocessor.registerphpfunctions
| From: | amitdutt dot twx at gmail dot com | Date: | Wed, 12 Mar 2014 11:49:59 +0000 |
| Subject: | note 114613 added to xsltprocessor.registerphpfunctions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198869@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/114613
Del: integrated -- https://master.php.net/note/delete/114613/integrated
Del: useless -- https://master.php.net/note/delete/114613/useless
Del: bad code -- https://master.php.net/note/delete/114613/bad+code
Del: spam -- https://master.php.net/note/delete/114613/spam
Del: non-english -- https://master.php.net/note/delete/114613/non-english
Del: in docs -- https://master.php.net/note/delete/114613/in+docs
Del: other reasons-- https://master.php.net/note/delete/114613
Reject -- https://master.php.net/note/reject/114613
Search -- https://master.php.net/manage/user-notes.php