The $headfoot mapping

The function of the $headfoot mapping is to declare a set of actions processed immediately before and after the content contained in all other fixed blocks.

The $headfoot mapping consists of two boxes, Pre content (upper box) and Post content (lower box). It is not associated with any fixed block content declared by the Layout Editor.

The following example shows how to use the $headfoot mapping to increment a page number, then assign a first page title header for use within a fixed block:

<set var="PageNo" value="{Pageno}+1" />
<case var="Pageno" target="1" >
  <set var="TitleHead" string="Introduction" />
  <set var="TitleHead" string="" />

[Warning] Warning

The $headfoot mapping must not attempt to emit content because it not associated with a page fixed block into which the content can be placed. The placement and appearance of content generated from this mapping is undefined.