note 49131 added to function.xsl-xsltprocessor-register-php-functions
| From: | public at epulse dot hu | Date: | Mon, 17 Jan 2005 18:22:08 +0000 |
| Subject: | note 49131 added to function.xsl-xsltprocessor-register-php-functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-83517@lists.php.net to get a copy of this message | ||
Some sort of similar function would be even more interresting, such as adding objects to an xslt
processor, with custom namespaces, exactly as IE's MSXML does the job with JavaScript
ActiveXObjects and MS.NET MSXML...
f.e.:
xslProcessor.addObject(MyObject, "http://www.myurl.tld/my/namespace");
... in JS
or
xslProcessor->registerObject(MyObject, "http://www.myurl.tld/my/namespace");
... in PHP
using:
<xsl:value-of xmlns:my="http://www.myurl.tld/my/namespace"
select="my:Method1()"/>
This function would greatly increase the useability of this PHP extension!
----
Manual Page -- http://www.php.net/manual/en/function.xsl-xsltprocessor-register-php-functions.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49131
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49131&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49131&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49131&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49131&report=yes&reason=useless+example
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49131&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49131&report=yes
Search -- http://master.php.net/manage/user-notes.php