View Full Version : create report template xml file

04-22-2002, 10:53 PM

How can I create report template .xml programmatically? Thanks.

04-25-2002, 03:42 PM
Write out a character stream :).

If you want to generate reports on the fly, you are not required to use the XML-Definition at all. You may construct your report using the various add-methods, and pass the constructed JFreeReport-Object to the ReportPane.

But if you want to reuse the generated report or serialize it to an XML-file, hmm, not yet, sorry. Currently, you would have to programm it by yourself,
but this is certain: In one of the next releases such a writing functionality is included.

In some days a new version will be published, this includes an DTD which will document the structure of the report definition files.