note 13449 deleted from ref.xslt by jimw
| From: | jimw@php.net | Date: | Sun, 23 Sep 2001 01:03:26 +0000 |
| Subject: | note 13449 deleted from ref.xslt by jimw | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18202@lists.php.net to get a copy of this message | ||
Original code:
-----------------------
$xslt = new xsltTransform("life.xsl", "life.xml");
print ($xslt->applyTransformation());
-----------------------
I think it'll be better just to make this class to call it in one line - to move
"$xslt->applyTransformation()" into constructor - we can't do something else with
it - just applyTransformation - so why use 2 separated lines of code?