Java Reference
In-Depth Information
When working with JasperReports, the first step is to create a report template as
an XML file. XML report templates can be hand-coded or generated by a graphical
report designer. Even though JasperReports' report templates are XML files, template
filenames are given an extension of .jrxml . JasperReports XML templates are
commonly referred to as JRXML files, which is the term we will use for them in
this topic.
Here is what a typical JRXML file looks like. We will discuss JRXML files in detail in
Chapter 4.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN"
"http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport name="simple_template">
<title>
<band height="50">
</band>
 
Search WWH ::




Custom Search