Date: 03/17/01
- Next message: Bryan Willett: "[phplib] link to download the XSLT extensions"
- Previous message: Philip Strnad: "Re: [phplib] Database Problem"
- Next in thread: Ben Curtis: "Re: [phplib] checked in XSLT extensions"
- Reply: Ben Curtis: "Re: [phplib] checked in XSLT extensions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Bryan Willett: "[phplib] link to download the XSLT extensions"
- Previous message: Philip Strnad: "Re: [phplib] Database Problem"
- Next in thread: Ben Curtis: "Re: [phplib] checked in XSLT extensions"
- Reply: Ben Curtis: "Re: [phplib] checked in XSLT extensions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

