iphone - How to get the data from following XMl? -


i have application in getting xml below. how parse following xml such need maintain 2 separate arrays 'id' , 'last updated'. in idarray want maintain ids , in updatedarrays want maintain dates.how that? both id , lastupdate within single tag below.

id="amitdixit007@gmail.com" lastupdate="08/27/2010 04:15:42pm"

can u tell me link or response string can you;

hold response after parse in array , in nsmutablearray *idarray = [[nsmutablearray alloc]init]; nsmutablearray *lastupdatearray = [[nsmutablearray alloc]init]; (for i=0;i<[array count];i++){

[idarray addobject:[[ array objectatindex:i]valueforkey:@"id"]]; [lastupdatearray addobject:[[ array objectatindex:i]valueforkey:@"lastupdate"]] }


Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -