Jeff Pennal wrote:
I want to create an XSLTInputSource, but I have dynamically generated
the XML file in memory and I do not want to commit it to disk just to
have a File object to point to.
You have to use DOM or, preferably, SAX to wire your
transformer to the FO processor.
Try something like this:
// set up your transformation
// prepare FOP
Driver driver=new Driver();
// transform, this also drives the formatter