Did you try to run the transformation (XML & XSL) without generating a PDF?
If that doesn't produce any output your PDF will be empty.



$ -----Original Message-----
$ From: chandrakant_binwani [mailto:[EMAIL PROTECTED]
$ Sent: donderdag 6 juni 2002 10:42
$ To: [EMAIL PROTECTED]
$ Subject: Problem with PDF generation
$ 
$ 
$ 
$ While trying to generate a PDF from a xml using a xsl...
$ the pdf generated is a 0KB one.
$ 
$ Driver driver = new Driver();
$ driver.setRenderer(Driver.RENDER_PDF);
$ XMLReader parser = input.getParser();
$ driver.setOutputStream(new FileOutputStream(pdffile));
$ driver.render(parser, input.getInputSource());
$ 
$ I'm using FOP version fop-0.20.3.
$ There were no errors while pdf generation.
$ What could be the problem ??
$ 
$ Regards,
$ Chandrakant.
$ 

Reply via email to