Hi, I have configured PHP thus.....
./configure \
--with-mysql \
--with-xml \
--with-apache=../apache_1.3.19 \
--enable-track-vars \
--with-xslt-sablot \
--with-expat-dir=/usr/local/expat \
--with-dom=/usr/lib \
--with-zlib-dir=/usr/lib
But when I try to do a simple XSLT transformation thus....
<?
// xslt.php: quick test to see if Sablotron works
if (!xslt_transform($stylesheet, $xmlfile, "arg:/result", 0,0, $result)) {
die(sprintf('Error [%d]: %s', xslt_errno(), xslt_error()));
}
print "The Transformed Document Looks Like:\n<br>\n";
print $result;
?>
I get...
Fatal error: Call to undefined function: xslt_transform()
Any ideas or other checks I can do to see if Sablotron's installed OK?