Android: Best XML Parsing Library?

Sharj picture Sharj · Oct 13, 2010 · Viewed 27k times · Source

I have to parse some complex xml files inside my Android application. Is there any good library for doing that like there is TouchXMl for iPhone?

Answer

John J Smith picture John J Smith · Oct 14, 2010

Or you could use the org.xmlpull.v1.XmlPullParser - I've found it much easier to use than the SAX Parser and it has other benefits:

http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html

http://www.bearcave.com/software/java/xml/xmlpull.html