public void removeEmptyText(JwXmlElement e) {
   for (JwXmlNode n : e.getChildren().getShallowCopy())
     if (n.isText() && n.asText().isEmpty()) e.removeChild(n);
 }
 public void normalizeChildren(JwXmlElement e) {
   for (JwXmlNode n : e.getChildren()) normalizeNode(n);
 }