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