I need to iterate the xml for tags and its value.
<root>
<information>
<dept>cs</dept>
<key><name>aaa</name></key>
<tool>
<cols>bb</cols>
<cols>cc</cols>
<cols>dd</cols>
</tool>
</information>
</root>
I am new to python i need to read the tags as well as tag value. How to achieve this using python xml.dom . How to achieve this?
Thanks in advance