Generate xsl file with php

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

With php, is it possible to generate an xslt (.xsl) file and then,
always with php, parse an xml file using the php-generated xsl file?

The problem is: can I create a localized xsl file based on php-gettext
and then parse the xml file loading the xsl file in the correct

Something like:
 $doc = new DOMDocument();
 $xsl = new XSLTProcessor();
 echo $xsl->transformToXML($doc);

Thank you :-)

Site Timeline