note 114613 deleted from xsltprocessor.registerphpfunctions by salathe

From: Date: Sun, 26 Oct 2014 15:26:27 +0000
Subject: note 114613 deleted from xsltprocessor.registerphpfunctions by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-200734@lists.php.net to get a copy of this message
Note Submitter: amitdutt dot twx at gmail dot com ---- 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.

« previous php.notes (#200734) next »