<config> </config>
The <config> tag marks the begining of the configuration. The matching
</config> tag marks the end of the configuration.
The configuration is used to define report parameters, and must contain one line only.
Syntax: parameter=value parameter=value ...
There must be at least one space between each parameter/value pair. Spaces are not
allowed either side of the "=" characters.
<data> </data>
The <data> tag marks the begining of the data format definition. The matching
</data> tag marks the end of the data format definition. Each data row
from the input will be formatted using this definition.
Any of the variable/predefined data items may be used in the data format definition.
The data format definition may be more than one line. This can be used, for example, by
adding a blank line, to generate "double spaced" output.
Example:
<data>
%{name}<@ 35>${department}<$ 55:${salary}>
</data>
Note:
- Must be nested inside a page definition.
<footer> </footer>
The <footer> tag marks the begining of a group/page footer definition.
The matching </footer> tag marks the end of the group/page footer
definition.
If nested in a group definition, the footer is be invoked when the group changes.
If nested in a page definition, the footer is invoked when the number of data rows
for the current page reaches the defined length. This can be useful to print group/page
summaries.
Using the "@" tag it is possible to position "footer" information anywhere on the
current page.
Example:
<footer>
<@ 0:42>Page: ${PAGE} <@ 95>${DATE}
</footer>
Note:
- Must be nested inside a group/page definition.
<group> </group>
The <group> tag marks the begining of the group definition. The matching
</group> tag marks the end of the group definition.
The group definition must contain header/footer definitions only. Any text not in a
header/footer definition is ignored.
Example:
<group>
<header>
<@ 80:0><b>Department:</b> %{GROUP}
</header>
<footer>
<@ 0:41>Department Employees: ${COUNT-GROUP}
Department Salary Total: ${SUM-GROUP-salary}
</footer>
</group>
Notes:
<header> </header>
The <header> tag marks the begining of a group/page header definition.
The matching </header> tag marks the end of the group/page header
definition.
If nested in a group definition, the header is be invoked when the group changes.
If nested in a page definition, the header is invoked when the number of data rows
for the current page reaches the defined length. This can be useful to print page
title information and column headers.
Using the "@" tag it is possible to position "header" information anywhere on the
current page.
Example:
<header>
<size 14><b>EMPLOYEE REPORT
<size 12><u>Name</u><@ 35><u>Department</u><@ 50><u>Salary</u></b>
</header>
Note:
- Must be nested inside a group/page definition.
<page> </page>
The <page> tag marks the begining of the page definition. The matching
</page> tag marks the end of the page definition.
The page definition must contain header/footer/data definitions only. Any text not in a
header/footer/data definition is ignored.
Example:
<page>
<header>
<size 14><b>EMPLOYEE REPORT
<size 12><u>Name</u><@ 35><u>Department</u><@ 50><u>Salary</u></b>
</header>
<data>
%{name}<@ 35>${department}<$ 55:${salary}>
</data>
<footer>
<@ 0:42>Page: ${PAGE} <@ 95>${DATE}
</footer>
</page>
Notes:
Copyright © 2003 Adrian Davis.