Hi,

I'm having a XML file like

*sample.xml*
*
*
*<maintag>*

*<firstroute>*

*<date>jan 25th</date>*
*<segfirstroute>*

*<date>mar 6th</date>*

*</segfirstroute>*

*</firstroute>*

*

<firstroute>

 <date>apr 18th</date>
<segfirstroute>

 <date>july 29th</date>

 </segfirstroute>

</firstroute>

*
*</maintag>*


In this i need to parse <date> tag. I need only the date tag in <firstroute>
only not in <segfirstroute>.

I need jan 25th & apr 18th.
But i'm getting jan 25th, mar 6th , apr 18th & july 29th.

how to get only that 2 tags?...

-- 
Thanks & Regards
Sasikumar.S

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

Reply via email to