Hi
all,
I am using
fop-0.20.3rc version of FOP to generate PDF
files.
These are few lines
of code I used to generate the PDF reports.
xslProcessor =
XSLTProcessorFactory.getProcessor(); ------1
xslProcessor.process(new XSLTInputSource(new
FileReader(XSLFile)),new XSLTInputSource(new
FileReader(XMLFile)),
new
XSLTResultTarget(PDFFile));
------- 2
and So
On..
I am generating
PDF reports of about more than 5000 for each trigger of
the component.
So, the above loop
is run for those number of times.
What i need to know
is, whether the XSL file is processed for every loop OR it
caches
the result of the
process once done. [ In the 2nd method ]
If it processes for
every loop, is there any way to process the XSL sheet
separately
and keep the result
in any suitable object variable, and use that with XML file to genearte
reports.
Because the
XSL filename is constant and only XML and
PDF file name varies for every loop.
Regards,
---------------------------------------------------------------------------- This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ----!
------------------------------------------------------------------------