We require a JasperReports
configuration file for generating reports. JasperReports XML configuration files are based on the jasperreport.dtd
DTD, with a root element of jasperReport
. We shall specify the JasperReports report design in an XML configuration bin file, which we have called config.xml
. Create an XML file config.xml
in the webContent
folder by selecting XML | XML File in the New wizard.
Some of the other elements (with commonly used subelements and attributes) in a JasperReports configuration XML file are listed in the following table:
XML element |
Description |
Subelements |
Attributes |
---|---|---|---|
Root element |
|
| |
Report level font definitions |
|