<?php

$xsl_params['pie']="pumpkin";

$xh = xslt_create();

$xslfile = "rlo.xsl";

$xmlfile = "pumpkin.xml";

$result = xslt_process($xh, $xmlfile, $xslfile, NULL, NULL, $xsl_params);

if ($result) {
echo $result;
}
else {
print "Sorry, the files could not be transformed --";
print "the reason is that " . xslt_error($xh) . " and the ";
print "error code is " . xslt_errno($xh);
}

xslt_free($xh);

?>
