I have got the default FOP code working generating PDF file based on local
example files. My source data does not reside on the local PC. I have the
XSL file on a web server and the XML data in an SQL server database field.
I have written a Java application that works fine with the local files but
am struggling with the XSLTInputHandler require File types for the source
data.
e.g.
File xmlfile = new File("c:\\xslforef.xml"); // CAN THESE FILES
BE STREAMED INTO THE XSLINPUTHANDLER SOME HOW
File xslfile = new File("c:\\xml2pdf.xsl"); // CAN THESE FILES
BE STREAMED INTO THE XSLINPUTHANDLER SOME HOW
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
UpdateStatus("Parsing input files");
//InputHandler inputHandler = new XSLTInputHandler(XMLData, xslFile);
InputHandler inputHandler = new XSLTInputHandler(in,out);
Thanks
Mike Seal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]