note 13449 added to ref.xslt.php

From: Date: Sun, 17 Jun 2001 12:29:30 +0000
Subject: note 13449 added to ref.xslt.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14334@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? http://www.php.net/manual/en/ref.xslt.php

« previous php.notes (#14334) next »