1

Currently parsing remote content straightly using TBXML by initwithURL method. But while parsing data if network time out occurs parsing stopped intermediately. Don`t know how to handle that scenario , at the same time no delegate will call.

If any one know the solution, please help me out.

Note : XML content is very large about half million of data , parsing is also happen in background thread.

Thanks

Karthi
  • 13,624
  • 10
  • 53
  • 76

1 Answers1

0

Why don't you use NSURLConnection to download xml data and then use

TBXML * tbxml = [[TBXML tbxmlWithXMLData:myXMLData] retain];
Inder Kumar Rathore
  • 39,458
  • 17
  • 135
  • 184
  • But for downloading data it will take long time around 15min user have to wait, but the way i use its begin the download once it got the responses. – Karthi Jul 31 '12 at 06:47
  • TBXL first downloads the file then starts the processing. What way are you doing ? – Inder Kumar Rathore Jul 31 '12 at 07:01
  • Instead of downloading entire content and start parsing, i need to parse where it hits the URL and corresponding root element of XML. – Karthi Aug 06 '12 at 07:06