You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Sami, Abdul (Netprosys)" <as...@spbank.com> on 2002/02/07 23:53:20 UTC

How to use FOP in Java

I want to generate PDF dynamically.
Can anyone give a sample code for accessing FOP and passing
it xml , xsl and FOP streams rather Filenames.

Currently i generate using
String[] arr = {"-q", "-xml",xmlFile, "-xsl",xslFile, "-pdf", pdfFile};
		Fop.main(arr);

but i dont want ot do in this manner, as i don't want to generate PDF file.
Just want to stream data to client.


Sami


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org