Hi everyone, I am trying to parse XML using the Sablotron extension in PHP.
I know my xml is valid and my xsl sheet also. I also know that my server has sablotron compiled.
You can check <a href="http://www.jasonnewton.net/info.php">here</a> if you wish.
Hereis my problem.
<?php
// store XML and XSL content as variables
$xmlstring = join('', file('person.xml'));
$xslstring = join('', file('person.xsl'));
// call the XSLT processor directly
xslt_process($xslstring, $xmlstring, $result);
// output the result
echo $result;
?>
When I run this script, I get an error saying it is a call to an undefined function. This tutorial is available at Devshed
by clicking <a href="http://www.devshed.com/Server_Side/XML/XSLTrans/print">here</a>
Please is there anyone who can help me?