It sounds like you just need to run a transform using Xalan on the xml to
get the FO tree, and pass that FO tree to FOP using Driver.setInputSource().
See the Xalan web page for examples of doing the tranform programatically.

-Kelly

> -----Original Message-----
> From: sravan kumar [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 3:01 PM
> To: [EMAIL PROTECTED]
> Subject: How to Pass xml and xsl to servlet
> 
> 
> Hi All,
> 
> I am facing a problem can any one help me out here,
> I have written a servlet which takes xml and xsl as
> parameters(here i have hardcoded it i.e path
> =d:/webliogic/s1.xml) to generate the pdf file,
> Can any one tell me how should i pass the xml and xsl
> files as parameters dynamically instead of hardcoding
> it 
> Its Urgent please can some one help me out
> Regards
> shravan
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35 
> a year!  http://personal.mail.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

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

Reply via email to