var reobj:Object = new Object(); for each(var item in xml.attributes())reobj[String(item.name())] = item; 写道 http://www.8bitrocket.com/newsdisplay.aspx?newspage=39445 http://www.cnblogs.com/ddw1997/archive/2009/10/09/1579933.html