> Well the compile worked fine.
>
> I tried sabcmd and it works fine (i.e. when I issue the command
> sabcmd slashdot.xsl slashdot.xml > slashdot.html
>
> It produces the correct output with no errors)
>
> However, when I try to use any of the xslt functions in a small php
> test file with a call to xslt_create();  or xslt_create_processor() I get
>
>     Call to undefined function: xslt_create_processor()
>

This means that you haven't enabled the sablotron xslt processor when
compiling php...

> php.ini includes the following:
>     extension_dir="/usr/lib/php4:/user/local/lib";
>
> The following xml and sablot files are in /usr/local/lib:
>     libexpat.a
>     libexpat.la
>     libexpat..so
>     libexpat.so.0
>     libexpat.so.0.0.1
>
>     libsablot.a
>     libsablot.la
>     libsablot.so
>     libsablot.so.0
>     libsablot.so.0.50.0
>
> I'm using the latest RH7.0 RPMS for php:
>       php-4.0.4-1.i386.rpm
> (i.e. I do not build php from scratch)
>
>  Compile options displayed using phpinfo() show:
>            --with-xml
> but no
>            --with-sablot
>

That means you don't have sablotron support installed for php...

Grab a copy of PHP and configure it --with-sablot and then compile it, then
the script will work fine (its xslt_create() btw, no
xslt_create_processor())...

-Sterling

Reply via email to