def _parse_xml(self, xml): d = xmltodict.parse(xml) self.ssid = d['WLANProfile']['SSIDConfig']['SSID']['name']