note 57445 added to ref.xslt
| From: | MHart at osu1 dot php dot net | Date: | Tue, 04 Oct 2005 15:22:07 +0000 |
| Subject: | note 57445 added to ref.xslt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-96352@lists.php.net to get a copy of this message | ||
I had a lot of trouble with the PHP XSLT extensions on Fedora Core 4 running PHP 4.x
I was going from a Mandrake/Mandriva box to Fedora, and XSLT worked fine on the Mandrake box. I
couldn't get the XSLT extension working on Fedora for the life of me, though.
So I created a function that uses the command line xsltproc application:
function xsltproc($xslfile, $xmlfile)
{
$toexec = "xsltproc " . $xslfile . " " . $xmlfile;
exec($toexec,$results);
return implode("",$results);
}
----
Manual Page -- http://www.php.net/manual/en/ref.xslt.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+57445
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57445&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57445&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57445&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57445&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57445&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57445&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57445&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+57445&report=yes
Search -- http://master.php.net/manage/user-notes.php