Re: [PHP-XML-DEV] registering functions or templates
[email protected] (Christian Stocker) Tue, 23 Dec 2003 11:50:10 +0100
| Newsgroups | php.xml.dev |
|---|---|
| Message-ID | <[email protected]> |
On 12/23/03 11:43 AM, Eric Daspet wrote: > Hi, > > I've seen that all DOM extension use the PHP stream wrappers. I was > asking myself if it was possible to register a PHP function for future > use in Xpath, or register a function for future use as a template in XSLT. > > Such functionnality is already present in the python module based on > libxml : see http://xmlsoft.org/python.html at the title "xpathext.py" > > I do not see such thing, neither in presentation slides neither in > examples or tests in snaps Maybe not exactly what you want, but at least from within XSLT you can call php functions. Maybe we could do sth similar for XPath. see http://blog.bitflux.ch/p1582.html for a little bit more information chregu > > Is this feature planned ? > If no : what about making it aviable ? what are the problems ? > If yes : do you plan to release it for the first release of php5 or later ? > > Thanks -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB