Processor for xsl.fo to create a pdf output

Friday, 24 May 2013 · 2 messages
CA
content agentis24 May 2013 15:53 #

Is there a processor for *.fo files to create a pdf-file?

This *.fo file is the result of a xsl-transformation and in the database.

Outside the database I use the fop processor. Can this processor be integrated and used in the database?

How and what are the commands (xquery and command)?

Best regards

Elisabeth

____________________________________

content agentis

Elisabeth Paul

Marie-Curie-Straße 2

79211 Denzlingen

07666/8813162

mailto: elisabeth.paul at contentagentis.de

www.contentagentis.de

AG
Arve Gengelbach24 May 2013 17:11 #

Hi Elisabeth,

Within XQuery, using the [Process Module], you could invoke any java based FO Processor as a java process. But therefor you first have to write the file to disk to hand it in as an argument.

For example:

proc:execute("java", ( "-Djava.awt.headless=true", "-classpath", $classpath, "org.apache.fop.cli.Main" (: , ... :) )) Depending on the FO Processor you use, refer to the invoking shell or batch script to see what arguments the java process needs.

Hope this helps Arve

Quoted text · content agentis · 39 lines
Am 24.05.13 15:53, schrieb content agentis: > Is there a processor for *.fo files to create a pdf-file? > > This *.fo file is the result of a xsl-transformation and in the database. > > Outside the database I use the fop processor. Can this processor be > integrated and used in the database? > > How and what are the commands (xquery and command)? > > Best regards > > Elisabeth > > /____________________________________/ > > // > > /content///*agentis* > > Elisabeth Paul > > Marie-Curie-Straße 2 > > 79211 Denzlingen > > 07666/8813162 > > mailto: elisabeth.paul at contentagentis.de > > www.contentagentis.de > > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
-- Arve Gengelbach, BaseX GmbH, http://basex.org |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22

⚡Generated with XQuery