XSLT and PHP
| From: | Geoff | Date: | Tue, 24 Sep 2002 15:22:41 +0000 |
| Subject: | XSLT and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-117431@lists.php.net to get a copy of this message | ||
I have been impressed with using the xslt functions in php in that it
gives you the ability to separate content from presentation. Now I am
looking to streamline this technique.
Typically I either take xml that is in a file or generated by a class
from a sql query and transform it with an xsl file.
The great part is anything to do with content or code is completely
separate from presentation. However, if I ever need to change the
presentation (xsl files) I still have one xsl file for every "page" on
the site to edit.
I have tried to make xsl files use includes (php includes) without much
success. I am looking into xsl includes.
What I am looking for is either a way to use includes in xsl stylesheets
or something like Fusebox layouts for xml/xsl. Thank you