XML Parsing need help iphone sdk

Posted by neha on Stack Overflow See other posts from Stack Overflow or by neha
Published on 2010-06-01T10:54:06Z Indexed on 2010/06/01 11:43 UTC
Read the original article Hit count: 390

Hi all, How do you get "MayurS123" from following xml tag by parsing?

<eletitle lnk="http://192.168.10.2/justmeans/trunk/newsfeed/mayurs">MayurS123 Sharma</eletitle>

My file is getting parsed properly. Here I'm able to retrieve the lnk component by doing:

if([elementName isEqualToString:@"eletitle"])
{
        aGoodwork.lnk = [attributeDict objectForKey:@"lnk"];
}

But I'm not getting how to get in actual title.

Thanx in advance.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk