note 30511 deleted from ref.xslt by sobak
| From: | sobak@php.net | Date: | Tue, 22 Nov 2016 03:33:26 +0000 |
| Subject: | note 30511 deleted from ref.xslt by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207357@lists.php.net to get a copy of this message | ||
Note Submitter: ohlesbeauxjours at yahoo dot fr
----
In reply to Jaron, who needed to evaluate PHP code inside the stylesheet, look at a post I sent
about xslt_set_scheme_handlers().
Scheme handlers are very useful, since they allow the XSLT engine and PHP to fully interact (they
will communicate through XML strings).
With xslt_set_scheme_handlers(), you can give the XSLT engine an advanced access to the file system
(or even to the other I/O interfaces), and perform various tasks (checking the existence of a file,
creating new files "on the fly", deleting, etc...)
... all that in only one stylesheet :)
baptiste