Replacing Sablotron backend with libxslt (gnome) backend for XSLT extension
| From: | Robert | Date: | Fri, 08 Mar 2002 23:32:11 +0000 |
| Subject: | Replacing Sablotron backend with libxslt (gnome) backend for XSLT extension | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87834@lists.php.net to get a copy of this message | ||
After reading /ext/xslt/README.XSLT-BACKENDS in the source, specifically....
<snip>
Config.m4
---------------------------------------------------------------------------
----
The XSLT extension's "magic" really occurs in the config.m4 file. Here you
must add a couple of things in order for your backend to be enabled. Its a
bit
too complex to describe (but easy to implement and understand). Take a
look at
config.m4 (which is well commented) to see what is necessary.
Makefile.in
---------------------------------------------------------------------------
----
Simply add the source files for your backend to the LTLIBRARY_SOURCES
variable
and you're all set with this file.
</snip>
...and having various compilation/linking/performance problems with the
default Sablotron backend, I am seriously interested in replacing it with
the libxslt (gnome) libraries. I hacked around with the Config.m4 and
Makefile.in files as noted in Sterling's comments to see if I could get PHP
configure/make to accept libxslt sources/libraries (after successfully
compiling/installing them) in place of Sablotron....but no success.
Before spending hours/days trying to do this methodically and painfully
(since I have always just configured/made PHP "by the book" and am a recent
ASP/IIS convert), I was hoping that somebody, somewhere has already done
this and just not posted or documented it (or at least thought about it).
Regards,
Robert Tuttle
United Devices, Inc.
robert@ud.com