-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: FopServlet example!
Date: Tue, 11 Feb 2003 23:44:50 +0100
Ken Masters wrote:
I am new to Apache FOP, and am finding a little problem with what I'm
doing. The XSLTInputHandler class has two parameters, the XML and XSL
File's. Basically what I
Hi,
Ive attached the Java class, (and included it at the bottom incase
attachment fails to send).
There are two methods, and they both require the HttpServletResponse. It
provides options for either sending it the XML and XSL as files or strings.
Ensure that you have copied the following jar
Write your own InputHandler to do what you need. Then do the usual
driver.render() call:
Driver driver = new Driver();
InputHandler inputHandler =
new MyCustomInputHandler(..whatever your InputHandler needs..);
driver.setOutputStream(..wherever you want the output to go..);
Ken Masters wrote:
I am new to Apache FOP, and am finding a little problem with what I'm
doing. The XSLTInputHandler class has two parameters, the XML and XSL
File's. Basically what I would like to do is pass an XML as a Java
String (since it is dynamically created) and the XSL can be passed