0

ı want to parse xml "http://www.namaz.web.tr/namazVakitleriApi.php?il=ISTANBUL".after that ı wrote information in xml to textview.can anyone help me.ı don^t have any idea parsing xml file.

Alex Reynolds
  • 95,983
  • 54
  • 240
  • 345
muhammedkasva
  • 672
  • 4
  • 12
  • 20
  • see this http://stackoverflow.com/questions/6543993/xml-parser-for-asihttprequest/6544043#6544043 and see the comment – Mehul Mistri Jul 14 '11 at 08:57

2 Answers2

0

Download and work through Apple's XMLPerformance sample project.

Alex Reynolds
  • 95,983
  • 54
  • 240
  • 345
  • you get me wrong.ı looked but its very difficult to understand for me.xml in my question is easy.if ı understand how it can be parsed,ı will learn this topic. – muhammedkasva Jul 14 '11 at 08:13
  • The project is fairly straightforward, I think. You might want to start with some basic Objective C tutorials and work your way to this project. – Alex Reynolds Jul 14 '11 at 19:56
0

Follow this , How to parse XML in Objective c using ASIHTTPRequest and handle all this methods

-(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName attributes:(NSDictionary *)attributeDict

-(void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName

-(void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string

See this Link too

This all are beginners guide...

Mehul Mistri
  • 15,037
  • 14
  • 70
  • 94