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:
your PHP platform.
Here are some links that should help you on your way:
- XML: http://www.w3.org/XML, http://www.xml.com
- XSL / XSLT: http://www.w3.org/Style/XSL,
http://www.xslt.com
Here’s some info on obtaining and installing Sablotron and the extension module:
- http://www.gingerall.com : Home of the
Sablotron Parser. - http://p4lib.hk-go.to/ : Steven Liu’s PHP
Sablotron extension.
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.
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
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.
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 !
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.
section.
— Justin