Element root = doc.getRootElement();
for(Iterator<?> itr = root.elementIterator();itr.hasNext();){
Element em = (Element) itr.next();
Attribute index = em.attribute("map_name");
System.out.println("�����ͼ "+index.getValue()+".....");
RoomMap map = new RoomMap("res/map/"+index.getValue()+".xml");
MapContext.map.putIfAbsent(index.getValue(),map);
}
doc.closeXML();
}