def drop_children_from_node(element: etree, children: List[str]) -> None: for child in children: element.remove(element.find(child))