I think I'm missing something basic. I'd like to access the text of an XML element and replace it. For example, if I have this:
<name>Fred</name> I'd like to be able to change Fred to John
I've read a lot of sites about ElementTree and BeautifulSoup but I'm still stuck. Could someone provide a very simple example?