Header section

The Header section can contain the items listed in Table 6-12. Only the root XHTML <form> element is required:

Table 6-12: Items permitted in the Header section of an XHTML document

Item

Details

Root <form> element (start tag)

The XHTML <form> element is the root element of the XHTML template. See “Root element”.

XHTML elements

Additional elements below the root element.

DataWindow control references

Text. See “DataWindow controls”.

DataWindow expressions

Text. See “DataWindow expressions”.

Literal text

Text that does not correspond to a DW control.

Attributes

Can be assigned to all elements. See “Element attributes”.

CDATA sections

See “CDATA sections”.

Child elements

Child elements in the Header section cannot be iterative except for the Group DataWindow.

NoteDetail section in root element The root element displays in the Header section, but the entire content of the Detail section is contained in the root element.

The items in the Header section are generated only once at runtime (when the DataWindow is exported to XHTML), unless the DataWindow is a Group DataWindow. For Group DataWindows, the corresponding XHTML fragment in the Header section is repeated so that it iteratively heads each group detail—the group of XHTML rows corresponding to the group specified in the DataWindow.

The Header section contains the rendering of the DataWindow header band and any group header bands. Bands are generated within <div> elements. The controls rendered in the Header section (such as computed titles and text control column headings) are typically also generated within <div> elements, with referenced content.

These entities are generated only once and are not iterated for each row. However, for DataWindows with group headers, the corresponding XHTML fragment in the Header section is repeated, iteratively heading each group of XHTML rows corresponding to the group specified in the DataWindow.