note 9721 deleted from function.xslt-transform by nlopess
| From: | nlopess@php.net | Date: | Mon, 28 Jun 2004 15:07:26 +0000 |
| Subject: | note 9721 deleted from function.xslt-transform by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72036@lists.php.net to get a copy of this message | ||
Note Submitter: sample@sample.com
----
Using the class at http://www.subpop.com/~dietricha/php_sablot.zip
by dietricha@subpop.com
<?php
include "class.XSLTransformer.php";
$params = array("display" => "catagory");
$xsl = join ('', file ('./catalogcatagory.xsl'));
$xml = join ('', file ('./catalog.xml'));
$xslt = new XSLTransformer();
$xslt->setVars('./catalogcatagory.xsl','./catalog.xml',$params);
if($xslt->xslt_transform()){
echo $xslt->getOutput();
} else {
echo $xslt->getError();
}
?>