public Node getNode(Node node, String nodeName) {
        NodeList list = node.getChildNodes();
        for (int i = 0; i < list.getLength(); i++) {
            Node serverNode = list.item(i);
            if (list.item(i).hasChildNodes() && list.item(i).getNodeName().equals(nodeName)) {
                return serverNode;
            }
        }
        return null;
    }