[phplib] checked in XSLT extensions From: Bryan Willett (bryan <email protected>)
Date: 03/17/01

I checked in my XSLT extension to PHPLIB under the contrib directory.

Using that extension a dataset can be returned from a database, formated
into XML, and then transformed with a XSLT stylesheet (template).

This class supports passing parameters to the XSLT stylesheet, using
add_parameter("parameter_name", "parameter_value").

Both the XSL and XML that is passed into the class can be a string value
or a file name.

Usage:

$db = new DB_Sql_Xml;
$db->query("select * from foo");
echo $db->get_transform("xslt_file.xslt", $db->get_xml());

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>