#22561 [Opn->Bgs]: cannot initialize xslt_create()
| From: | nicos@php.net | Date: | Thu, 06 Mar 2003 01:48:26 +0000 |
| Subject: | #22561 [Opn->Bgs]: cannot initialize xslt_create() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34942@lists.php.net to get a copy of this message | ||
ID: 22561
Updated by: nicos@php.net
Reported By: fabpicca at inwind dot it
-Status: Open
+Status: Bogus
Bug Type: XSLT related
Operating System: Windows Me
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Read the doc:
http://www.php.net/manual/en/ref.xslt.php
Previous Comments:
------------------------------------------------------------------------
[2003-03-05 17:33:18] fabpicca at inwind dot it
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 this bug report at http://bugs.php.net/?id=22561&edit=1