Hi all,
does anybody know the reason why this exception occurs?
I want to render xml/xsl files to pdf within a servlet.
The xmlFile is generated within the servlet and the xslFile is statically available.
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile);
org.xml.sax.XMLReader parser = inputHandler.getParser();
-> driver.buildFOTree(parser, inputHandler.getInputSource());
driver.format();
driver.setOutputStream(out);
driver.run();
Any idea?
Thanks in advance,
_______________________________________
Erik Rehrmann - IOn AG
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]