Closed wangke1970 closed 2 years ago
how to keep >
xml = '''L_w-9BDTXP& gt;5!,BGXs6L$''' d = xmltodict.parse(xml) print(d) OrderedDict([('password', 'L_w-9BDTXP>5!,BGXs6L$')])
& gt; change to >
thanks
You may use cdata blocks.
how to keep >
& gt; change to >