code: def load_xml(self, filepath):
          
          from os import path
          import xml.etree.ElementTree as ET
          #Make sure the file exists and then import it as XML and read the values out.
          uxpath = path.expanduser(filepath)
          if path.isfile(uxpath):
              tree = ET.parse(uxpath)
              vms("Parsing global settings from {}.".format(uxpath))
              root = tree.getroot()
  
              for child in root:
                  if child.tag == "var":
                      self._vardict[child.attrib["name"]] = child.attrib["value"]
docs: Loads the values of the configuration variables from an XML path.