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