On 14.03.2003 15:43:44 andrew mercer wrote:
> I am looking for code as an example as to how I can convert an xml file 
> to a .fo file before converting this file to a pdf file.
> 
> I have been going straight from a xml -> pdf keeping the .fo in memory 
> using the example on the FOP web site. However there is a major 
> exponential memory issue with large files that cause them to either run 
> out of java memory (currently I set this to amximum of 512m) or take 
> forever to finish.

Won't help you much. You just put an additional serialization and
parsing step in between. It most probably won't solve your memory issues,
only slow down the whole process. Check the mailing list archives for
better solutions.

> I therefore want to do the process in two stages.
> 
> It says on the FOP web sites that I can find examples in the extracted 
> download at: xml-fop/examples/embedding. However I do not have this 
> directory in either version 0.20.3 or 0.20.4 or in the source download 
> for 0.20.4.

The examples are available from version 0.20.5rc on and via CVS.

> Am I doing something wrong or can I be pointed in the right direction or 
>   can a sample of code be sent.
> 
> I will continue looking on the FOP archive but have not found anything 
> so far.


Jeremias Maerki


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

Reply via email to