NSDictionary *stu1 = @{@"name":@"张三", @"age":@18, @"height":@177};
NSDictionary *stu2 = @{@"name":@"李四", @"age":@20, @"height":@178};
NSDictionary *stu3 = @{@"name":@"王五", @"age":@25, @"height":@170};
NSDictionary *stu4 = @{@"name":@"赵六", @"age":@16, @"height":@190};
NSDictionary *stu5 = @{@"name":@"田七", @"age":@15, @"height":@160};
NSArray *array = @[stu1,stu2,stu3,stu4,stu5];
NSLog(@"%@",array);
就是把字典的内容保存在数组里面,然后生成的xml文件