Python Forum
XML update using python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: XML update using python (/thread-19210.html)



XML update using python - sathiyarajmca - Jun-18-2019

Hi All,

I am beginner in python. I have 100 xml files. In that I need to insert few new XML tags. Instead of doing it manually I would like to automate it using python.
How to achieve this using python program.
Appreciate your help.

Thanks,


RE: XML update using python - Larz60+ - Jun-18-2019

see: https://docs.python.org/3.7/library/xml.etree.elementtree.html