def parseFromList(node, inputList):
  """
    Try all the ParameterInput classes in the inputList and parse the node
    with the first that passes.
    @ In, node, xml.etree.Element to parse
    @ In, inputList, list of ParameterInput to try and parse node with
    @ Out, paramInput, a ParameterInput instance or None if none found in the
     list
  """
  paramInput = None
  for inputClass in inputList:
    if inputClass._checkCanRead is None or inputClass._checkCanRead.check(node):
      paramInput = inputClass()
      paramInput.parseNode(node)
      return paramInput
  return paramInput