Stefan Le Jeune wrote:


Hi,

I've been reading the archives and help but can't work out where to start so I 
hope someone can send me in the right direction.

I've been running fop-0.20.5 for about 6 months in the following format to 
create PDF files:
I run a 4GL program that drops out to the Operating System (Solaris 2.7 / 8) 
and calls:

/usr/local/fop-0.20.5/fop.sh -q -xsl XSLFile.xsl -xml XMLfile.xml -pdf PDFoutput.pdf 
>> /tmp/fop.log.

This is taking around 10-15 seconds for each PDF(around 1-2 pages) I create.  
As has been pointed out in previous posts, this is
because the java libraries need to be loaded.  Now I have more PDFs to create 
and I need to speed up the process.

My question:
Can I write a fop script that would start in memory with all the libraries and 
I could call that instead?  Has anyone written
something similar? Does anyone understand what I want to do?

well i dont think you can do it with a script, but certainly a simple java program can do this for you. As a starting point have a look at:


http://xml.apache.org/fop/embedding.html#render-with-xslt


Please note my java knowledge is zero. I have a little scripting experience. So be easy on me please!

Oh ... get a book on java, its not that difficult really!

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to