SAX parsing is done line by line, so there is no way that you can pick up a specific tag if you are SAX parsing.
Kumar Bibek On Feb 1, 8:30 am, "Sasikumar.S" <sasikumar.it1...@gmail.com> wrote: > Hi, > > How to parse only the particular tag using SAX Parser?.. > > *sample.xml* > * > * > <main type=""> > <sub> > <conname>George</conname> > <conphonenumber>840123456</conphonenumber> > <extra>US</extra> > </sub> > </main> > > when i try to parse the above sample.xml i'm getting all the values(conname, > canphonenumber & extra). > But i need only conname & conphonenumber > > -- > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en