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