Re: XSLT and PHP
| From: | Alexandru COSTIN | Date: | Thu, 26 Sep 2002 09:32:26 +0000 |
| Subject: | Re: XSLT and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117682@lists.php.net to get a copy of this message | ||
Hello,
As far as I've seen from your requirements, you are searching for a platform
like Krysalis is.
Krysalis does exactly this, allows you to define a sitemap to associate XSL
presentation files to dynamic XML files, in a Model-View-Controller
approach.
http://www.interakt.ro/products/
Alexandru
> 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