Next / Previous / Contents / Shipman's homepage

25. flow()

fosox.py
# - - -   f l o w

def flow(s, flowName):
    '''Open a flow element.

      [ (s is a sox.Sox instance) and
        (flowName is a valid XML name) ->
          s  +:=  an open flow element routed to (flowName)
          return that element ]
    '''
    return s.start("flow", dash(flowName=flowName))