python利用xmltodict.parse将xml格式文本转换为字典dict输出
def xml_to_json(xml_full_path):
with open(xml_full_path, 'r') as fx:
xml_str = fx.read()
if xml_str == ''
python利用xmltodict.parse将xml格式文本转换为字典dict输出
def xml_to_json(xml_full_path):
with open(xml_full_path, 'r') as fx:
xml_str = fx.read()
if xml_str == ''