JYA <nospam at nospam.blah> wrote: > for y in x.getElementsByTagName('display-name'): > elem.appendChild(y) Like Gabriel wrote, nodes can only have one parent. Use elem.appendChild(y.cloneNode(True)) instead. Or y.cloneNode(False), if you want a shallow copy (i.e. without any of the children, e.g. text content). Marc