PHPBuilder - Transforming XML with XSL using Sablotron Page 6

RSS Twitter

Transforming XML with XSL using Sablotron - Page 6

by: Justin Grant
October 24, 2000

Hopefully this all helps somewhat in your quest to implement XML and XSL on your PHP platform.
Here are some links that should help you on your way:
Here's some info on obtaining and installing Sablotron and the extension module:
I installed Sablotron and the PHP module on my home brewed Linux box. I know the Sablotron processor is available for Windows and Solaris platforms to.
I'm not sure about the PHP4 Sablotron extension module on other platforms besides Linux but I believe it's possible.
I found it quite difficult to get the Sablotron module loaded by the PHP engine, but eventually got it right. The trick is to set LD_LIBRARY_PATH equal to the directory where all your PHP modules/extensions are situated.
e.g. for my installation I did the following: LD_LIBRARY_PATH = /usr/local/lib
When it is installed you should see something like the following screen if you call phpinfo(); from a script.

Hey look there's also something about Java in this info script , so stay tuned because in my next article we'll look at using Java Beans from PHP. This is really cool too !
Questions on installation, XML, XSL/XSLT and PHP are all welcome in the posts section.
-- Justin

« Previous Page

Comment and Contribute

Your comment has been submitted and is pending approval.

Justin Grant



(Maximum characters: 1200). You have characters left.