note 30511 added to ref.xslt
| From: | ohlesbeauxjours at yahoo dot fr | Date: | Thu, 20 Mar 2003 18:18:20 +0000 |
| Subject: | note 30511 added to ref.xslt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45564@lists.php.net to get a copy of this message | ||
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
--
http://www.php.net/manual/en/ref.xslt.php
http://master.php.net/manage/user-notes.php?action=edit+30511
http://master.php.net/manage/user-notes.php?action=delete+30511
http://master.php.net/manage/user-notes.php?action=reject+30511