You could use
Xalan, the xslt processor used in fop, to do the transformation from xml to
the fo document you can call fop to produce the pdf.
But that is
probably just a workaround. Perhaps you can check the fop source code for
How can i get in output a fo
I can see that for huge xml docs, fop creates a
temporary fo file instead of saving it into memory.
I need to apply changes to sources to obtain that
fo file as a result of the elaboration.
Does someone know in which part of the code this
fo file is builded?