docs: function ConfigParser(path) {
      this.path = path;
      try {
          this.doc = xml.parseElementtreeSync(path);
          this.cdvNamespacePrefix = getCordovaNamespacePrefix(this.doc);
          et.register_namespace(this.cdvNamespacePrefix, 'http://cordova.apache.org/ns/1.0');
      } catch (e) {
          console.error('Parsing '+path+' failed');
          throw e;
      }
      var r = this.doc.getroot();
      if (r.tag !== 'widget') {
          throw new CordovaError(path + ' has incorrect root node name (expected "widget", was "' + r.tag + '")');
      }
  }