Next / Previous / Contents / Shipman's homepage

16. regionBefore(): Build a region-before element

See Section 4.10, “regionBefore(): Define the header area”.
# - - -   r e g i o n B e f o r e

def regionBefore(pageDim, regName):
    '''Create a region-before element.

      [ (pageDim is a PageDim element) and
        (regName is a valid XML name) ->
          return a new region-before element whose extent comes from
 and whose region-name is regName ]
    return E("region-before",