in mns/mns_xml_handler.py [0:0]
def xml_to_dic(tag_name, xml_data, data_dic, req_id=None):
try:
for node in DecoderBase.xml_to_nodes(tag_name, xml_data):
if node.nodeName != "#text":
if node.childNodes != []:
data_dic[node.nodeName] = node.firstChild.data
else:
data_dic[node.nodeName] = ""
except MNSClientNetworkException as e:
raise MNSClientNetworkException(e.type, e.message, req_id)