Next / Previous / Contents / Shipman's homepage

19. singlePageMasterReference()

fosox.py
# - - -   s i n g l e P a g e M a s t e r R e f e r e n c e

def singlePageMasterReference(s, masterRef):
    '''Generate a single-page-master-reference element.

      [ (s is a sox.Sox instance) and
        (masterRef is a valid XML name) ->
          s  +:=  an leaf single-page-master-reference element
                  referring to (masterRef)
          return that element ]
    '''
    s.leaf("single-page-master-reference",
        dash(masterReference=masterRef))