From: fabpicca at inwind dot it
Operating system: Windows Me
PHP version: 4.3.1
PHP Bug Type: XSLT related
Bug description: cannot initialize xslt_create()
the script is very easy taken from the shared documentation
<?php
// Allocate a new XSLT processor
// $xh=xslt_create();
// Process the document
if (xslt_process($xh, 'rubrica.xml', 'trasformatore.xsl', 'result.xml'))
{
print "SUCCESS, sample.xml was transformed by sample.xsl into
result.xml";
print ", result.xml has the following contents\n<br>\n";
print "<pre>\n";
readfile('result.xml');
print "</pre>\n";
}
else {
print "Sorry, sample.xml could not be transformed by sample.xsl
into";
print " result.xml the reason is that " . xslt_error($xh) . " and the
";
print "error code is " . xslt_errno($xh);
}
xslt_free($xh);
?>
the output is
Fatal error: Call to undefined function: xslt_process() in
C:\apache\htdocs\webpages\html2xml\converter.php on line 11
--
Edit bug report at http://bugs.php.net/?id=22561&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22561&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22561&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22561&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22561&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22561&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22561&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22561&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22561&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22561&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22561&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22561&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22561&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22561&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22561&r=gnused