Hi again.
I got xslt finally installed... turns out I should only have
1 copy of php_sablot.dll in the extensions dir. and nowhere
else. Also the php.ini file was corrupt.

Now, the functions are recognized, but there is an error
that I don't understand when running the xslt_process() or
the xslt_run commands.

Here's the code:
-----------------
<?php 

$xslData = fread(fopen("14-2.xsl", "r"),
filesize("14-2.xsl"));
$xmlData = fread(fopen("14-1.xml", "r"),
filesize("14-1.xml"));

if (xslt_process($xslData, $xmlData, $result))
{
    echo $result;
}
echo "There was an error that occurred in the XSL
transformation...\n";
echo "\tError number: " . xslt_errno() . "\n";
echo "\tError string: " . xslt_error() . "\n";
exit;
--------------

Here's the output:
--------------
Warning: msgtype: warning in c:\program files\apache
group\apache\htdocs\xmltest.php on line 16

There was an error that occurred in the XSL
transformation... Error number: 475 Error string: Destroying
the arena: %s B asked, %s B allocated 
--------------
NOTE: line 16 is the xslt_process() function call line.

There are no references (none that i could find) about error
codes and their resolution. Doessomeone have an idea what
this error means?
Thanks.

Reply via email to