public String getValueFromNodeList(Node node, String name) {
        NodeList elements = node.getChildNodes();
        String value = null;
        for (int i = 1; i < elements.getLength(); i++) {
            Node element = elements.item(i);
            // System.out.println("serverElement=" + element.getTextContent());
            if (element.getNodeName().equals(name)) {
                value = element.getTextContent();
                break;
            }
        }
        return value;
    }