I am us开发者_JAVA百科ing ksoap for using webservice in my application. The output response contains attributes also. The response will be something like this;
<Response xmlns="namespace">
<Result Id="number" Name="value"></Result>
</Response>
How can I retrieve value of Id from this? I tried with getAttribute() method but it did not work. Please help.
I got the solution! I referred this: http://www.simpligility.com/2010/05/attribute-support-for-ksoap2-on-android/
Thanks,
you need to learn Sax parser. what is Sax parser click here.with example
精彩评论