/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlProcessor.java
addProcessingInstructionsTo( i, node.getChildNodes( ).item( list) ) ;
addProcessingInstructionsTo ( list, node.getChildNodes ( ) .item ( i ) ) ;
private void addCommentsTo(List<Node> list, Node node) { if (node instanceof Comment) { list.add(node); } if (node.getChildNodes() != null) { for (int i = 0; i < node.getChildNodes().getLength(); i++) { <extra_id_0> } } } private void addTextNodesToRemoveAndTrim(List<Node> toRemove, Node node) { if (node instanceof Text) { Text text = (Text) node;