cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Koechlin <>
Subject Re: Image output
Date Fri, 11 Aug 2000 09:41:42 GMT
David Pettersson wrote:

> Is it possible (and if so, how) to generate an image (ie, jpg, png or gif)
> containing a bar chart from a xml document containing statistics using
> xsl? Or do I have to write a servlet or bean? Isn't it just a translation?

You have to write a new formatter for Cocoon.

org.apache.cocoon.formatter.FO2PDFFormatter is a
formatter writen to translate a FO-DOM-Tree into a
pdf binary stream.

You can write a formatter to translate a DOM-Tree into
a jpeg stream, or png stream.

S├ębastien Koechlin

View raw message