Open demongolem-biz2 opened 1 year ago
I have a dict that I converted using xml = dict2xml(a) and what I got back is
xml = dict2xml(a)
\<Body>B\</Body> \<Footer>F\</Footer> \<Title>T\</Title>
when a is
a = {'Title': 'T', 'Body': 'B', 'Footer': 'F'}
So it is out of order and not a full xml document with root and header
{"Title": "T", "Body": "B", "Footer": "F"}
may be converted to xml
<?xml version="1.0" encoding="UTF-8"?> <root> <Title>T</Title> <Body>B</Body> <Footer>F</Footer> </root>
I have a dict that I converted using
xml = dict2xml(a)
and what I got back iswhen a is
a = {'Title': 'T', 'Body': 'B', 'Footer': 'F'}
So it is out of order and not a full xml document with root and header