Hi, I use FOP to generate a PDF file from an XML file With a XSL/FO transformation. The generation is made in a servlet.
Actually, I use the method described in the FOP Web site: Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile); XMLReader parser = inputHandler.getParser(); driver.setOutputStream(new FileOutputStream(outFile)); driver.render(parser, inputHandler.getInputSource()); But, I want to use InputStream instead of File for xslFile and xmlFile (to use in war in Tomcat). And, I don't know how do this ! Moreover, I have fonts configuration. For the same reason, I can't use: userConfigFile = new File(userConfig); options = new Options(userConfigFile); Can anybody help me ??? Thanks. Solange Desseignes --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]