I am getting an XML return from an Ebay API call. This is actually an Ebay category list of collections. But the problem is, I can’t access its collection from XML output. I have attached two pictures – the first one showing debug of XML value returning variable, and the second one showing “InnerList”. My main goal is prepare this XML data to store on my database, so I need a clean list of values from XML data. Any ideas?
2
Answers
You could deserialize your xml into your own class/object – Then it might be easier to work with. All i do is put xml tags to a class and i can deserialize it. See the class and method below:
Hope it helps!
It seems you are using Ebay SDK. Please try code below to process return values.