public static String getPathData(String filepath,String xmlpath)
{
org.dom4j.io.SAXReader sr = new org.dom4j.io.SAXReader();
try {
org.dom4j.Document doc = sr.read(new File(filepath));
doc.normalize();
org.dom4j.Node nd = doc.selectSingleNode(xmlpath); return  nd.getText();

} catch (DocumentException e) {

e.printStackTrace();
}
return null;
}