import org.dom4j.Document;
import org.dom4j.io.SAXReader;
import org.dom4j.Element;
Document document = null;
SAXReader saxReader = new SAXReader();String fileName = HmtFileReader.getAbsolutePath("appInfo.xml");
document = saxReader.read(new File(fileName));
Element root = document.getRootElement();
int date = Integer.parseInt(root.element("date").getStringValue());