xslt xlt transform

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am working on a Solaris box running 2.8. I needed a way to get merge
the XSLl with the XML. I found the PHP would do the trick for me. I
loaded libxslt-1.1.8 and libxml2-2.6.9, bult them and installed. Then
loaded PHP 5. Same thing, built it and installed it. I created this
simple script;

$xh = xslt_create();

$myResult = xslt_process(


I get the following error;

Content-type: text/html
X-Powered-By: PHP/5.0.0

<br />
<b>Fatal error</b>:  Call to undefined function xslt_create() in <b>

Did I miss something?

Re: xslt xlt transform

That error means that you did not compile PHP with the XSLT extension, or
you did not activate that extension in the php.ini file. Check the manual at
http://www.php.net/manual/en/ref.xslt.php for details.

Be aware that PHP contains lots of optional extensions that need to be
compiled in before they can be used. The details are all in the manual.

Tony Marston


Quoted text here. Click to load it

Site Timeline