def removeEmptyElements(list):
  """ Remove empty elements from a list ( [''] ), preserve the order of the non-null elements.
  """
  tmpList = []
  for element in list:
    if element:
      tmpList.append(element)

  return tmpList