/ Published in: Objective C
URL: http://cocoadev.com/forums/comments.php?DiscussionID=163
Expand |
Embed | Plain Text
// Define the XML Document NSXMLDocument* doc = [[NSXMLDocument alloc] initWithXMLString:[NSString stringWithContentsOfFile:@"/folder/with/sample.xml"]]; // Create the arrays here [objects addObject:[xmlElement stringValue]]; [descriptions addObject:[xmlElement stringValue]]; [doc release]; [objects release]; [descriptions release];
You need to login to post a comment.
