Parse XML item “Category” into an NSArray with NSDictionary
问题 Question: The generated XML file from an .XSD template produces the output pasted below. Since category 's keys are image , my standard way of parsing the image items wont work on category . I would like to place the category name="Category #" into an array, How can I make an array from the category fields. What I need: What I want is an array of dictionaries. Each position contains a dictionary representing one category, and each dictionary contains images for that category. Array: @