python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Python xmltodict shows inconsistent behaviour in XML arrays
I seen some, IMHO, inconsistent behaviour in Python xmltodoct.parse function.
When an array has only 1 element, it returns an iterator with the child-elements
When an array has more than 1 element, i...

BertC
Votes: 0
Answers: 1
Python: Zeep library is returning a list instead of a zeep object
I'm using zeep to work with SOAP API, but the response returned from the service is a list and not a zeep object.
I'm having to use raw_response=True so i can get the xml on the 'text' attribute an...
user
Votes: 0
Answers: 0
Why I can't loop xmltodict?
Ive'been trying to transform all my logs in a dict through xmltodict.parse function
The thing is, when I try to convert a single row to a variable it works fine
a = xmltodict.parse(df['CONFIG'][0])
Sa...
Leon Batista
Votes: 0
Answers: 1
How to resolve- xml.parsers.expat.ExpatError: junk after document element- even after having single root element
my xml structure has one single root element. but
xmltodict.parse(request)
is giving me this error- xml.parsers.expat.ExpatError: junk after document element.
Although it does run successfully someti...
Kanika Singla
Votes: 0
Answers: 0