posted 18 years ago
Hi Majid,
can you elaborate a litlle more what you plan to do? FOP and database are not related to each other. At least not directly.
With FOP your are going to translate a FO (.fo) document into a PDF document.
Normally you start with an XML file which represent the content of your document be it HTML or PDF. You then have to create an XSL stylesheet for the presentation (your report) of that XML file. Use XSLT for HTML and XSL:FO for FO.
After you did that you need to run your XML and XSL files through an XSLT processor like Saxon. In case of FO you still need to run your FO through an FO processor like FOP to get your PDF.
You will find lots of examples when you follow the chain I described.
Good Luck.
Darya