public static String getElementValue(Node node, String query,boolean required) { Element element = getElement(node, query,required); if(element==null) { return null; } return element.getValue();
public static String getElementValue(Node node, String query) { return getElementValue(node, query,true);
    public static String getElementValue(Node node, String query,boolean required) {        Element element = getElement(node, query,required);        if(element==null) {            return null;        }        return element.getValue();    }