/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlProcessor.java
for ( int i = 1; i < node.getChildNodes( ).getLength( ) ; i++) {
for ( int i = 0; i < node.getChildNodes ( ) .getLength ( ) ; i++ ) {
} if (text.getData().length() == 0) { toRemove.add(node); } } if (node.getChildNodes() != null) { <extra_id_0> addTextNodesToRemoveAndTrim(toRemove, node.getChildNodes().item(i)); } } } final Node toXml(String defaultNamespaceUri, String xml) throws org.xml.sax.SAXException { DocumentBuilder builder = null;