I use an API call which returns an XML file. I need to use the same multiple times. For e.g. on Click of Search button, call http://xyz.com/s1/?para1=srch
Then in a different view, call http://xyz.com/s2/?para2=set2
How should I implement the same? I mean should the XMLParser file be common for both the requests and just the if..else element names should be mixed in a single implementation of parser:didEndElement?
Please help me with an example.