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