Hi, I would like to use the Saxon XSL processor from within PHP. Saxon is written in Java (there is a saxon.jar; see http://saxon.sourceforge.net). Although PHP has an option to use Sablotron as XSL processor as a module, this is not supported with many hosting providers, and Sablotron is not yet 100% compliant with the XSLT recommendation.
I am no Java programmer, but there is an API exposed by Saxon. I got the basic Java "Hello World" example from the PHP man page and another one from oreillynet.com working. I noticed an article on http://www.linuxwebdevnews.com/articles/php-java-xslt-2/ where an example was given, but this uses a previous version of Saxon. When trying to follow the example, I always get a "Cannot create Java Virtual Machine" error message. Does somebody uses this kind of setup, and can give me a hint as to how to use Saxon from within PHP? Or is this too resource-hungry, and should be avoided in a production environment? Thanks for your help in advance, ------ Jakob. PS: cc'ing me is appreciated, as I am on the digest list. thanks. ------ Jakob. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php