Pregunta

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.

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top