/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlProcessor.java
addProcessingInstructionsTo( list) ;
addProcessingInstructionsTo ( list, document ) ;
builder = getDocumentBuilderFromPool(); Document document = builder.parse( new org.xml.sax.InputSource(new java.io.StringReader(syntheticXml))); if (ignoreProcessingInstructions) { List<Node> list = new java.util.ArrayList<Node>(); <extra_id_0> for (Node node : list) { node.getParentNode().removeChild(node); } } if (ignoreComments) { List<Node> list = new java.util.ArrayList<Node>();