"Robert Koberg" writes: > private void removeColumns(Element elem) { > List cols = elem.getChildren("col"); > for (Iterator i = cols.iterator(); i.hasNext();) { > Element col = (Element)i.next(); > elem.removeContent(col); ^^^^^^^^^^^^^^^^^^^^^^^^^ here Try i.remove(); Brad