output filters and XSL
| From: | olivier hericord | Date: | Wed, 21 Aug 2002 21:10:44 +0000 |
| Subject: | output filters and XSL | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5798@lists.php.net to get a copy of this message | ||
i've made a XSL class that take in argument:
-a XML file
-a XSL file (that will determine the kind of output to build from the
XML ...HTML or rtf or....)Now my XML files are generated by Smarty. So i call my XSL class by an 'output filter' processing the XML file generated by Smarty.... My problem is that the 'XSL' file is hard coded into the output filter!!! Why??? Because i do not know how to give the output filter an argument!!!!! it would be so cool if i was able to write $smarty->load_filter('output', 'xslt','XSL_template/resa.xsl'); // load output filter named 'xslt' where the 3rd is the path to my XSL file... PLEASE HELP ME!!! :)