Is there an easy way of embedding FOP, including a stylesheet transformation?
Using the Driver class doesn't seem to allow this (or did I miss something?).
If I use Xalan to generate results to the ContentHandler, that the Driver instance returns, I get an error:
Unknown formatting object http://www.w3.org/XSL/Format/1.0^root
Do I need a DOCTYPE or something here?
It would be really great if FOP could take care of the transformation before rendering - just as with the -XSL commandline argument.
Any help appreciated!