DOM consumes memory and creates load of object (for big XML files), but DOM is easy to work with. SAX is event driven, but programming modell is awkward. There is pull XML parser in android though - like SAX but you are in control.
But usually you like to have you objects out of XML - so you will need kind of databinding tool (unfortunately there is not one in android) XStream is easy to use, but not really small. I decided to use JSON in my apps, and wrote small databinding library: http://github.com/ko5tik/jsonserializer It works well on even relatively big JSON files (highscore lists with 1000 entries ) On Jul 13, 4:42 am, Streets Of Boston <flyingdutc...@gmail.com> wrote: > I myself use the android.sax.* classes and the > org.xmlpull.v1.XmlPullParserFactory that's configured to use the > org.xmlpull.v1.sax2.Driver class for the actual hard work. > > (I wrapped some extra classes of my own around these (android.sax.*) > to better track the the current context (i.e. which element the pull- > parser is currently handling) of the parsing) > > On Jul 12, 3:30 pm, Siva <siva.d...@gmail.com> wrote: > > > Can anyone tell me the easy and fastest XML Parser? > > > I need guide/sample code... > > > please help me... -- 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