Template structure
Contents
An XHTML export template has a Header section and a Detail section
separated graphically by a line across the tree view. Other DataWindow
bands are incorporated into these sections.

The Detail Start element
A line across the Export/Import Template view separates the Header
section from the Detail section. The first element after this line,
d_dept_list_row in the previous screen shot, is called the Detail Start
element.
There can be only one Detail Start element, and it must be inside
the document’s root element. Each band of the DataWindow is wrapped by a
<div> element. When the DataWindow is exported in XHTML, this
element and all children and/or siblings after it are generated
iteratively for each row.