[phplib] Extended DB_Sql to include XSLT functionality From: Bryan Willett (bryan <email protected>)
Date: 02/27/01

I sent this message about 4 hours ago (it wasn't over 40k), but I'm not
showing it in the archive, so here goes again:

I extended DB_SQL to include XSLT functionality. All you do is:

$db->set_xsl($xsl_data);
$db->set_xml($xml_data);
$db->transform();
echo $db->get_output();

I haven't done much testing so far and the code has a couple trouble spots
that I know of. Perhaps I should just copy of the sablot interface
xslt_process($xml, $xsl, $result).

Here is a link to the code:

www.merchantempires.net/db_sql_xsl.inc

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