Title: RE: Batik -> XML

Hello,

Hugh Eland wrote:
> I want to use Batik to generate graphs as part of a bigger
> XML report, that I
> am them converting to PDF using FOP.
> [..] I would like the flow to be something like
>
1) > Generate XML document (currently using jDOM model)
2) > Use Java2D graphics with Batik canvas
3) > Include SVG XML into document
4) > Pass document and style sheets to FOP

Thats exactly the workflow I implemented with Batik/FOP, except that I'm using a DOM-implementation instead of jDOM.

Step 1) and 2) are application specific.
Core function of step 3) is
    SVGGraphics2D svgGenerator = new SVGGraphics2D(svgDocument);
Step 4) I don't understand this step... Why do you need a style sheet for FOP?
    FOP only requires a FO document.


Regards,

Jens

Reply via email to