getting corresponding value of an attribute from an NSXMLElement
How can i get t开发者_Python百科he corresponding value of an attribute of an NSXMlelement object from a self constructed NSXMLNode.
[[element attributeForName:@"name"] stringValue]
If your struct type is a NSXMLElement then I use:
NSString *valueInTag = [[element elementForName:@"name"] stringValue];
精彩评论