Android: Best XML Parsing Library?
问题 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? 回答1: 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 回答2: The SAX XML Parser comes already built into the Android SDK. 回答3: Use Woodstox.