code: def formatBodyNode(root,path):
      '''Format the root node for use as the body node.'''
      body        = root
      body.name   = "body"
      body.weight = calcFnWeight(body)
      body.path   = path
      body.pclass = None
      return bodf formatBodyNode(root,path):
      '''Format the root node for use as the body node.'''
      body        = root
      body.name   = "body"
      body.weight = calcFnWeight(body)
      body.path   = path
      body.pclass = None
      return body
docs: Format the root node for use as the body node.