531532533534535536537538539540541
boolean remove = false; for (Iterator<Node> it = ((List<Node>)children).iterator(); it.hasNext();) { Text t = text(it.next()); if (t == null) continue; t.trimInner(); if (t.isWhitespace()) { if (remove) { it.remove(); } else {