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