I have this xml:
<resources>
<string name="name1">value1</string>
<string name="name2">value2</string>
<string name="name3">value3</string>
<string name="name4">value4</string>
<string name="name5">value5</string>
</resources>
and I want to change each value of each string tag, I've tried with ElementTree but i can not solve it...
I have this but it doesn't works!
tree = ET.parse(archivo_xml)
root = tree.getroot()
cadena = root.findall('string')
cadena.text = "something"
root.findall()returns a list that you'd need to iterate over.