Definitely possible. You could have a look at the FINS project as a good example of how to to this sort of thing. In that case they use XML as an interface to JFreeChart.
You can write a custom serializer and/or transformer. Of course the preferred way is to use XSL:FO and a number of people have interfaced the latest release of the Apache FO project with current version of Cocoon. Regards Warrell On 28 April 2010 14:59, Peter Flynn <[email protected]> wrote: > A common solution to the requirement to generate publication-quality PDF is > to use XSLT to create LaTeX code and rely on LaTeX's understanding of > documents and library of pre-written packages to create the PDF. > > For real-time web applications it would be very useful to be able to drive > this from within Cocoon rather than having to call out to a CGI script. As > Cocoon can only call Java resources, and can only accept XML return, would > it be possible to write a small Java stub whose classes can be added to > Cocoon, that would do the business of running LaTeX over the XSLT output in > the pipeline and returning the PDF? > > I don't do Java, so I would be interested to know if this is even possible. > > ///Peter > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
