Hi everyone,
Does anyone know how to remove a particular attribute in XML by using Python?
<country>
<city capital="Paris">Paris</city>
............
............
</country>
<country>
<city capital="Helsinki">Helsinki</city>
............
............
</country>
<country>
<city capital="Bogota">Bogota</city>
............
............
</country>
I just wanna delete or remove Paris and Helsinki here by using SAX or DOM. How could I do it?
Thanks for your help.
Have a nice day!!!