boolean (String cname, final Namespace ns) { final ElementFilter filter = new ElementFilter(cname, ns); final List<Element> old = content.getView(filter); final Iterator<Element> iter = old.iterator(); if (iter.hasNext()) { iter.next(); iter.remove(); return true; } return false; }