¡@

Home 

2014/10/15 ¤U¤È 10:14:38

iphone Programming Glossary: strvalue

TouchXML parsing XML attributes

http://stackoverflow.com/questions/981700/touchxml-parsing-xml-attributes

ofType @ xml options 0 error nil autorelease NSArray nodes nil nodes doc nodesForXPath @ Player error nil NSString strValue NSString strName for CXMLElement node in nodes NSMutableDictionary object NSMutableDictionary alloc init process to set.. alloc init NSArray arAttr node attributes NSUInteger i countAttr arAttr count for i 0 i countAttr i strValue arAttr objectAtIndex i stringValue strName arAttr objectAtIndex i name if strValue strName objectAttributes setValue strValue.. arAttr count for i 0 i countAttr i strValue arAttr objectAtIndex i stringValue strName arAttr objectAtIndex i name if strValue strName objectAttributes setValue strValue forKey strName object setValue objectAttributes forKey node name objectAttributes..