[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: AW: java xslt (saxon) + php?

Subject: RE: AW: java xslt (saxon) + php?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 24 Jun 2005 08:38:27 +0100
php and saxon
> > I'm currently working on a PHP5 project which incorporates 
> Saxon-B 8.0 
> > as it's XSLT 2.0 processor. shell_exec works fine for me - 
> I  just had 
> > to redirect stderr to stdout to be able to catch the error messages 
> > with PHP. You will also have to use an absolute path for 
> your calls to 
> > Saxon to avoid classpath (or "whatever"-path :) issues.
> 
> Thanks.  Yeah, he has it working.  But if you do that, what about JVM 
> startup, caching, etc.?  We were just concerned about performance in 
> other words.
> 

I don't know PHP, but an approach that avoids the startup overhead and
allows stylesheet caching would be to run Saxon from a servlet (say under
tomcat) and invoke it from PHP by issuing an HTTP request (with suitable
parameters) and reading the response.

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.