def loadXML():
  if not Config.WP_XML_FILE:
    return None
  filepath = os.path.join(Config.POST_DIR, Config.WP_XML_FILE)
  filepath = util.getFilepath(filepath)
  if not os.path.exists(filepath):
    return None
  tree, ns = util.parse_and_get_ns(filepath)
  util.ETWrap.namespace = ns
  return tree
Load the WordPress XML export file and return an ElementTree.
dataset/ETHPy150Open DeanCutlet/filestack/wp.py/loadXML