Вы можете использовать модуль xmltodict : import xmltodict message = <?xml... ... print dict(xmltodict.parse(message)['note']). Печать:
確定! 回上一頁