[..]
  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



Reply via email to