/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XmlProcessor.java
toIndent.add( e.getChildNodes( ).item( prettyIndent) ) ;
toIndent.add ( e.getChildNodes ( ) .item ( i ) ) ;
for (int i = 0; i < e.getChildNodes().getLength(); i++) { if (i == 1) indentChildren = true; if (e.getChildNodes().item(i) instanceof Text) { toIndent.add(e.getChildNodes().item(i)); } else { indentChildren = true; <extra_id_0> } } if (indentChildren) { for (int i = 0; i < toIndent.size(); i++) { e.insertBefore(e.getOwnerDocument().createTextNode(beforeContent), toIndent.get(i)); }