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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top