xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralf Steppacher <steppac...@esteam.de>
Subject Re: Problem after generating PDF
Date Fri, 03 May 2002 10:33:42 GMT
[..]
>   Driver driver = new Driver();
>   driver.setRenderer(Driver.RENDER_PDF);
>   InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile);
>   XMLReader parser = inputHandler.getParser();
     /**** changes start here ****/
     FileOutputStream fos = FileOutputStream( outFile );
     driver.setOutputStream( fos );
>   driver.render(parser, inputHandler.getInputSource());
     fos.close();
     /**** changes end here ****/

Is that what you need?


Ralf


Mime
View raw message