Hi Manisha,

Once you have your XML, you can directly use :-

fop -xml myxml.xml -xsl myxsl.xsl -pdf mydoc.pdf

Hope the above helps.

Cheers.

Arun


From: Manisha Sathe <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Want to know the normal practice
Date: Sun, 6 Feb 2005 23:14:52 -0800 (PST)

I need to pull some data from database and want to show it inside pdf in a tabular form. What is the best way to do it ?

1)First create XML and convert it to FO
2)Take FO and convert it into PDF

Is there any other direct way ? My environment is java / JSP / Struts framework with MSSQL as backend. Is there any example for FOP with Database ?

btw, the examples given seems to be using deprecated methods, where can i find latest examples ? (using j2sdk 1.4.2_03)

regards
Manisha







---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'

_________________________________________________________________
MSN Spaces! Your space, your time. http://www.msn.co.in/spaces Your personal haven online.



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



Reply via email to