#46876 [Opn->Bgs]: PHP XSLT Module Error
ID: 46876
Updated by: scottmac@php.net
Reported By: 6r4845 at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: XSLT related
Operating System: Windows
PHP Version: 5.2.8
New Comment:
Use
$xsl = new XSLTProcessor();
xsl_create is from the PHP 4 module.
Previous Comments:
------------------------------------------------------------------------
[2008-12-16 00:18:51] 6r4845 at gmail dot com
Even
http://lt2.php.net/manual/en/function.xsl-xsltprocessor-transform-to-xml.php
doesnt work, what the fucking hell damn
------------------------------------------------------------------------
[2008-12-16 00:11:33] 6r4845 at gmail dot com
More info
I recently installed wampserver which packages php5, phpmyadmin and
apache. All seems to work fine except when I try to use XSL functions
such as xslt_create() I receive the following error:
Fatal error: Call to undefined function xslt_create()
I've uncommented the xsl extension : extension=php_xsl.dll
phpinfo states the following :
XSL enabled
libxslt Version 1.1.7
libxslt compiled against libxml Version 2.6.11
EXSLT enabled
libexslt Version 0.8.5
So, I believe XSL is enabled but the functionality doesn't seem to be
available to me, does anyone have any idea how I can resolve this?
------------------------------------------------------------------------
[2008-12-15 23:51:30] 6r4845 at gmail dot com
Description:
------------
Hi, i was enabled xsl module, restarted my server but li am still
getting error "Call to undefined function xsl_create()" when i'm trying
to proccess xml & xsl file with code:
<?php
$xh = xsl_create();
$result = xsl_process($xh, 'users.xml', 'users.xsl');
?>
What the fuck? :(
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46876&edit=1
Thread (4 messages)