You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Emmanuel Cuevas Rodriguez <ec...@ids.com.mx> on 2003/07/26 19:52:22 UTC
Writing data into a fo file from java
Hi everyone !!
This is my second time using FOP but I have a silly question:
How can I write data directly into the fo file from a Servlet ?
The last time I used FOP was with Turbine, so the data could be written into the fo file very easily using the context (TurbineVelocity.getContext(RunData data)), but this time I'm not using Turbine, so I don't know how to write into the fo file before the transformation to PDF.
The Idea is to build a PDF from the data entered in a web form.
Could someone help me please? Any thoughts/hints will be very appreciated !!!!!!
TIA !!
Emmanuel Cuevas
Full Engineer IDS
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: Writing data into a fo file from java
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Emmanuel Cuevas Rodriguez wrote:
> How can I write data directly into the fo file from a Servlet ?
Why do you think you *need* to write a FO file? You can use
SAX or DOM, coupled with an XSLT if necessary, to prepare the FO.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org