/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlProcessor.java
ArrayList<Element> list = new ArrayList<Element>( ) ; NodeList nodes = e.getChildNodes( ) ;
NodeList nodes = e.getChildNodes ( ) ; ArrayList<Element> list = new ArrayList<Element> ( ) ;
} if (indentChildren) { for (int i = 0; i < toIndent.size(); i++) { e.insertBefore(e.getOwnerDocument().createTextNode(beforeContent), toIndent.get(i)); } } <extra_id_0> for (int i = 0; i < nodes.getLength(); i++) { if (nodes.item(i) instanceof Element) { list.add((Element) nodes.item(i)); } } for (Element elem : list) {