public static Map xmltoMap(String xml) {
	try {
	Map map = new HashMap();
	Document document = DocumentHelper.parseText(xml);
	Element nodeElement = document.getRootElement();
	List node = nodeElement.elements();
	for (Iterator it = node.iterator(); it.hasNext();) {
	Element elm = (Element) it.next();
	map.put(elm.attributeValue("label"), elm.getText());
	elm = null;
	}
	node = null;
	nodeElement = null;
	document = null;
	return map;
	} catch (Exception e) {
	e.printStackTrace();
	}
	return null;
	}