def _get_xml_single_content(self, doc: str, tag_name: str):
    try:
        xml = minidom.parseString(doc).firstChild
        return xml.getElementsByTagName(tag_name)[0].firstChild.data
    except Exception as e:
        self._fsapi.write_log('Getting single_content {}: received <{}> error: {}'.format(self.key, doc, e))
        raise
def _get_xml_single_content(self, doc: str, tag_name: str):
    try:
        xml = minidom.parseString(doc).firstChild
        return xml.getElementsByTagName(tag_name)[0].firstChild.data
    except Exception as e:
        self._fsapi.write_log('Getting single_content {}: received <{}> error: {}'.format(self.key, doc, e))
        raise