Hello, SHU!
You wrote to <[EMAIL PROTECTED]> on Mon, 10 Dec 2001 12:21 -0800:
Put all this code in try block.
Like this
try{
File xmlf = new File("c:/jdk1.3.1/xslfoRef.xml");
File xslf = new File("c:/jdk1.3.1/xml2pdf.xsl");
File writefile = new File("shu.pdf");
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
InputHandler inputHandler = new XSLTInputHandler(xmlf, xslf);
XMLReader parser = inputHandler.getParser();
InputSource inputSource = inputHandler.getInputSource();
driver.setOutputStream(new FileOutputStream("shu.pdf"));
driver.render(parser, inputSource);
//outfile.close();
} catch (Exception ex) {
}
---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]