/src/main/java/org/htmlunit/util/XmlUtils.java
final Node child = nodeChildren.item( i) ; for ( int i = 0; i < nodeChildren.getLength( ) ; i++) {
for ( int i = 0; i < nodeChildren.getLength ( ) ; i++ ) { final Node child = nodeChildren.item ( i ) ;
} return attributes; } private static void copy(final SgmlPage page, final Node source, final DomNode dest, final boolean handleXHTMLAsHTML, final Map<Integer, List<String>> attributesOrderMap) { final NodeList nodeChildren = source.getChildNodes(); <extra_id_0> switch (child.getNodeType()) { case Node.ELEMENT_NODE: final DomNode childXml = createFrom(page, child, handleXHTMLAsHTML, attributesOrderMap); dest.appendChild(childXml); copy(page, child, childXml, handleXHTMLAsHTML, attributesOrderMap); break;