I know that the XSLT functionality in PHP is experimental but is anyone
doing any work with these?
I've written some basic extensions to PHPLIB for XSLT and I am curious if
anyone has some more advanced research they can share.
The code that I have will return a dataset, format into XML, and then
transform it using an XSLT stylesheet (template).
Usage:
$db = new DB_Sql_Xml;
$db->query("select * from foo");
$db->get_transform("xslt_file.xslt", $db->get_xml());
I also have add XSLT parameter functionality working. While I have this
code integrated into PHPLIB it could also function as a stand alone tranform
class. I took some code from a phpbuilder article on this subject and
improved it.
You can see the class here:
www.merchantempirs.net/db_xsl.inc
So has anyone else done much with PHP and XSLT?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]