xmltodict(xml) returns dictionary values with backslashes

33 views Asked by At

I want xmltodict.parse(XML)to return "XELTA\LMOR\CCS\CIP\CIP_3_2". Instead xmltodict to converts XML content to dictionary returns strings with double backslashes. XML_Input ="XELTA\LMOR\CCS\CIP\CIP_3_2" returns = xmltodict.parse(XML_Input) Returns = {"XELTA\LMOR\CCS\CIP\CIP_3_2"}.

Any suggestions?

0

There are 0 answers