note 9721 added to xslt_transform

From: Date: Mon, 20 Nov 2000 21:11:36 +0000
Subject: note 9721 added to xslt_transform
Groups: php.notes 
Request: Send a blank email to php-notes+get-7932@lists.php.net to get a copy of this message
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(); } ?> http://www.php.net/manual/function.xslt-transform.php

« previous php.notes (#7932) next »