Andrew S Moy wrote:
The constructor of org.apache.fop.apps.XSLTInputHandler takes the XML file and XSL file. I was wondering if anyone knows other XSLTInputHandler which takes some source of input stream objects. This way we don't have to write the data to a physical file and knowing that it will be read again from the InputHandler. Reading/writing from/to a physically media is always slower that from/to the system memory.
In FOP 0.20.5 XSLInputHandler has three public constructors:
public XSLTInputHandler(File xmlfile, File xsltfile) public XSLTInputHandler(String xmlURL, String xsltURL) public XSLTInputHandler(InputSource xmlSource, InputSource xsltSource)
either of the the later two can be used to process data that is already in memory, without the need to write to disk.
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]