/src/main/java/org/htmlunit/util/XmlUtils.java
return factory.createElementNS( page, attributesOrderMap, localName, namedNodeMapToSaxAttributes( source.getAttributes( ) , ns, source) ) ;
return factory.createElementNS ( page, ns, localName, namedNodeMapToSaxAttributes ( source.getAttributes ( ) , attributesOrderMap, source ) ) ;
documentType.getSystemId()); } final String ns = source.getNamespaceURI(); String localName = source.getLocalName(); if (handleXHTMLAsHTML && Html.XHTML_NAMESPACE.equals(ns)) { final ElementFactory factory = page.getWebClient().getPageCreator().getHtmlParser().getFactory(localName); <extra_id_0> } final NamedNodeMap nodeAttributes = source.getAttributes(); if (page != null && page.isHtmlPage()) { localName = localName.toUpperCase(Locale.ROOT); } final String qualifiedName;