Next / Previous / Contents / Shipman's homepage

6.18. staticContent()

staticContent(s, regName)
s

A sox.Sox instance to which output will be written.

regName

The name of the region to which this static content will be written; same as the regName value used in the call to Section 6.10, “regionBefore(): The region-before element” or Section 6.11, “regionAfter(): The region-after region” used to create the header or footer.

This function writes the start tag for a static-content element, and returns a sox.Elt token representing that open element.

After calling this function, use sox functions to generate the content of this header or footer enclosed in a block element. Then call the .end() method of the token.

Here are some suggestions for setting up header and footer content.