note 16172 deleted from function.xslt-run by nlopess

From: Date: Sat, 26 Jun 2004 19:07:12 +0000
Subject: note 16172 deleted from function.xslt-run by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71801@lists.php.net to get a copy of this message
Note Submitter: benoit-sp@fb12.de ---- This is an extension to the "class XSLT" by regenfeld@gmx.net above. This shows how the "xslt_args" argument to xslt_run() can be used to pass the XML and/or XSLT data: /* use $value as xml-input */ function setXmlInputBuf ($value){ $this->args['_xml'] = $value; $this->xml_file = 'arg:/_xml'; } /* use $value as stylesheet for the transformation */ function setXslInputBuf ($value){ $this->args['_xsl'] = $value; $this->xsl_file = 'arg:/_xsl'; } simply use those instead of *File(). /B.

« previous php.notes (#71801) next »