I am requesting data via an API which returns an XML every time. Then I need to analyse this XML and keep some of its elements.
I save that XML to a DataSet.
However, I need multiple calls to get multiple responses, and then group the elements from the various responses together, for example:
This would be a typical XML response. I need to get the myData field from say 10 different XML.
Now, I've been putting every XML response in a new DataSet and creating an ArrayList which holds them, and then itterate through the DataSets. I find this quite slow, and I think (correct me if I'm wrong) that DataSet it's an expensive means as far as memory is concerned.
What would you advice me to use in this occasion?
View Complete Post