Next / Previous / Contents / Shipman's homepage

22. conditionalPageMasterReference()
# - - -   c o n d i t i o n a l P a g e M a s t e r R e f e r e n c e

def conditionalPageMasterReference(s, masterRef, **kw):
    '''Generate a conditional-page-master-reference element.

      [ (s is a sox.Sox instance) and
        (masterRef is a valid XML name) and
        (kw is a dictionary with keys in {"pagePosition",
        "oddOrEven", "blankOrNotBlank"}) ->
           s  +:=  a leaf conditional-page-master-reference element
                   referring to (masterRef) with attributes
                   dict-de-camel(kw) ]
    return s.leaf("conditional-page-master-reference",
         dash(masterReference=masterRef), dash(**kw))