Thanks, I'm slowly starting to get somewhere =)As for "modify and copy the rest", if I do what you said, I end up with just the values, but I also need the tags. For example, the old XML has the following:... <network name="net0"/> <network name="net1"/> <network name="net2"/>...This has not changed in the new XML. How can I get all the <network> tags and corresponding attributes to the new file? Also, how can this be done with something like... <ip if="eth0"/>1.1.1.1</ip>...Again, I want that same line in the new XML file.