Вопрос

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