This method of the Element interface removes a child element from the tree.
public void removeChild(Element elem);