'Moves children from element1 to element2'

def move_children(self, element1, element2):

    for child in element1.getchildren():
        element2.append(child)
    for child in reversed(element1.getchildren()):
        element1.remove(child)
