Convert XML to List of Dictionaries in python
问题 I'm very new to python and please treat me as same. When i tried to convert the XML content into List of Dictionaries I'm getting output but not as expected and tried a lot playing around. XML Content: <project> <panelists> <panelist panelist_login="pradeep"> <login/> <firstname/> <lastname/> <gender/> <age>0</age> </panelist> <panelist panelist_login="kumar"> <login>kumar</login> <firstname>kumar</firstname> <lastname>Pradeep</lastname> <gender/> <age>24</age> </panelist> </panelists> <