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"
<jasperReport name="simple_template">
<band height="50">
Search WWH ::

Custom Search