- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {
xmlParseChunk(context, (const char *)[data bytes], [data length], 0);
}
my Question is as follows
=> didReceiveData: method receives data in parts
Some what like this
- first data----------| <masterData>Main</ma
- second data-----| ster><masterData>Main2
- third data --------| </masterData>
=> How xmlParseChunk() method can parse all these chunks successfully?