September 2nd, 2002, 04:48 PM
is sablotron the only xml toolkit for php?
I was looking for an xml toolkit(more precisley an xslt processor) for my php installation on Linux.
So far ive only found sablotron and it seems like a bit of a nightmare to work with. there seem to many bugs when it comes to compiling and it requires 'hacking' to get the installation to work , which im not very good at , at all.
does anyone know of any other xml/xslt toolkit to work with php ?
September 2nd, 2002, 08:33 PM
What sort of problems did you encounter with Sablotron to make you utter the words "nightmare", "bugs", and "hacking"? You don't say that you ever actually got it compiled into PHP or not.
I am by no means any type of compiling expert, but I have recently managed to eek out a successful PHP compilation with Sablotron support (along with the latest version of expat) onto my RedHat system. It was definitely a bit confusing at first, but by going through some documentation and examples I found here and there, I managed. And trust me when I say I am no expert.
Maybe there is help for your compile problems if that is the case, besides I don't know that there is another alternative for XSLT within PHP besides Sablotron.
I have not to this point found any bugs with Sablotron, but then again I'm sure my code has not put it through any kind of stress.
My biggest problem now is getting BZip2 support compiled into PHP...Let me know if you can solve that one for me ;-)
September 3rd, 2002, 04:44 AM
well....i never actually tried it, because i had been reading about it and there seemed to be lots of people complaining about its complexity.
I already have php compiled with mysql and apache 2.0 support, does that mean that when i recompile with sablotron support i still have include the apache and mysql extensions ? or will those installations be maintained anyway ?
September 3rd, 2002, 10:35 AM
"checking for jsapi.h... no
configure: error: required file jsapi.h not found"
i also typed CPLUS_INCLUDE_PATH=/my/install/js at the shell prompt. but i still keep getting the error message.
ive even tried ....
with which i get warning: /my/install/js invalid host type.
aarrrghh....what to do ??
September 3rd, 2002, 12:40 PM
September 4th, 2002, 07:08 AM
i still get a 'make' error, even though the patch was applied successfully
' ext/xslt/sablot.lo(.rodata+0x8):/php4/php4/ext/xslt/sablot.c: first defined here
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1 '
September 4th, 2002, 07:56 AM
sorry - my fault, i mix my sablot patches up.
i followed ur routine and its worked perfectly.
thank you ever so much for the help
my turn to help u now, how about a mars bar ? lol
September 4th, 2002, 11:39 AM
Glad it worked out.
>>my turn to help u now, how about a mars bar<<
I'll take it, it might help while *trying* become proficient with XPath. ;-)
September 11th, 2002, 07:49 PM
hosting plans that will give you access for this
I'm looking for an ISP/hosting plan (a small, cheap one), which has got sufficient permissions etc to allow me to do this (compile / install sablotron + PHP)
Does anyone know of any ISPs where I could get this?
September 12th, 2002, 05:17 AM
ive never actually tried any webhosting provider, but i know ipowerweb.com and hostroute.com have good service, so perhaps u could send them an email and see what they say ?
If not, let me move into my new office, and i can give u some space on my webserver which already has sablotron support (its only got 256k uplink though, on a fixed ip address)
let me know how u get on with ur search
November 11th, 2002, 03:44 AM
November 11th, 2002, 03:58 AM