Changing Element Value in Existing XML File Using DOM
- by rylic38
Hi All,
I am trying to find examples of how to change an existing xml files Element Value.
Using the following xml example:
<book>
<title>My Book</title>
<author>John Smith</author>
</book>
If I wanted to replace the author element value 'John Smith' with 'Jim Johnson' in a Python script using DOM, how…