Question

Webservice returns me a soapobject xml string how can i parse it into an arrayList without knowing the tag in it.Is that a tool ol library out there ? i know question is so typical but i'm new in android and webservice things.

Was it helpful?

Solution

With a parser like DOM Parser/Builder (out of the box support); you will find a method called getChildNodes() which will retrieve all the children from the root node. You can store them in an array and then process each of these appropriately.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top