Hi, I have two file. I have to modify the file one in a particular node and add in a list of child. The list is in the file2. Can I do it, and how?
from xml.dom.minidom import Document
from xml.dom import minidom
file1=modificare.xml
file2=sorgente.xml
xmldoc=minidom.parse(file1)
for Node in xmldoc.getElementsByTagName("Sampler"): # put in the file2 content
Thanks a lot.