Sunday, March 11, 2012

[android-developers] Xml parsing issue

i implement xml parsing from http Request ,,i have a problem with
parsing this structure xml as follow:

<Services>
<item>

<sample>1</sample>
<sample>2</sample>
.
.
.
.
.
.

</item>

<item>

<sample>1</sample>
<sample>2</sample>
.
.
.
<sample>5</sample>
.
.
.
</item>

how i can do this structure ,,,,,,Note that i using dom parser as
follow:

XMLParser parser = new XMLParser();
InputStream is= parser.getStream(URL);
Document doc = parser.getDomElement(is);


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate