Any pointer?
Thanks
Take a look inside the source for JODReports. In src/test/resources there are many example documents you can look at.
Shervin
Thanks Shervin.
I'm now trying to generate a order document using the ODT and XML
sample files that I found in this directory (src/test/resources).
Unfortunately, every time I just get a almost empty (and useless)
document.
For example, this command line:
$ java -jar generate.jar my-table-template.odt order-data.xml order-
output.odt
gives me a ODT document that contains a table composed by just the
header row while the body of the table just disappears. Even the
original body rows and the original tags are deleted.
I tried with the other ODT templates and the other XML data files
supplied with the sources but I have got the same result. Just the
most basic pair of sample documents "my-template.odt" and "simple-
data.xml" gives me the expected result.
Any idea?
PS: generate.jar is just a link to jodreports-cli-2.4.0-jar-with-
dependencies.jar, of course.
PS2: I'm using a Linux Mint 12 with OpenJDK6.