Re: Scheme handlers for XSLT in progress.
| From: | Adam Dickmeiss | Date: | Fri, 31 Oct 2003 11:20:40 +0000 |
| Subject: | Re: Scheme handlers for XSLT in progress. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5147@lists.php.net to get a copy of this message | ||
Christian Stocker wrote:
On 10/31/03 11:23 AM, Adam Dickmeiss wrote:Don't know the stream-wrappers, but from what I can see it doesn't do what we need. We want to be called by XSLT (with args etc) when XSLT meets registered elements&NS. So if you want a stylesheet with side effects, say that search in a database, just chaning the stream of XML doesn't help. XSLT must be in control - must have processed the args to the handler A stream approach is "separate" pass. Again, I may have misunderstood something, so we'd really like to know if it can be achived already.. -- AdamHi, we miss the scheme facility from PHP4's XSLT extension. So, we are making a new one for PHP5's XSL extension, i.e. interfacing libXSLT's xsltRegisterExtModuleFunction. If nobody else have done it/is doing it we'd like to contribute.Can't you just use the stream-wrappers provided by PHP5? These are very well supported even in xslt. What's the difference between them and the sablotron way? Besides the different API in PHP userland? chregu