code: def extractParams(xmlelement):
      
      params = list()
      children = list()
      for child in xmlelement.getchildren():
          param = getParam(child)
          if param:
              params.append(param)
          else:
              children.append(child)
      return params, children
docs: #TODO docstring
  
      :param xmlelement: #TODO docstring
  
      :returns: #TODO docstring