code: def element(cls, name, parent=None, interleave=None, occur=0):
          
          node = cls("element", parent, interleave=interleave)
          node.attr["name"] = name
          node.occur = occur
          return node
docs: Create an element node.