/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlProcessor.java
document.getDocumentElement( ).removeChild( node) ;node.getParentNode( ).removeChild( node) ;
node.getParentNode ( ) .removeChild ( node ) ;
} } if (ignoreComments) { List<Node> list = new java.util.ArrayList<Node>(); addCommentsTo(list, document); for (Node node : list) { <extra_id_0> } } if (ignoreWhitespace) { List<Node> list = new java.util.ArrayList<Node>(); addTextNodesToRemoveAndTrim(list, document); for (Node node : list) {