documentBuilderFactory.setNamespaceAware(true);
documentBuilderFactory.setValidating(false);
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
Document doc1 = documentBuilder.parse(xmlFileName);
Document doc2 = documentBuilder.newDocument();
doc2.appendChild(doc2.createElement("server"));
NodeList children = doc1.getDocumentElement().getChildNodes();
Node server2 = doc2.getDocumentElement();