上面是XML文件下面是面AS3中的判断:var temp:int=0;while(xml.UserInfo[temp]!=null){trace(xml.UserInfo[temp]);temp++;}