Adding following lines in startElementSAXFunc method, and we can use attributes string keys and values as following.
for (int i = 0; i < nb_attributes; i++) {
NSString *key = [[NSString alloc] initWithCString:(char*)attributes[0]
encoding:NSUTF8StringEncoding];
NSString *value = [[NSString alloc] initWithCString:(char*)attributes[3]
length:attributes[4] - attributes[3]];
NSLog(@"%@ = %@", key, value);
[key release];
[value release];
attributes += 5;
}