Monday, February 8, 2010

Android XML Parsing

If you ever considered which parser to use in Android, on developer.com you can find an article that does a comparison of DOM, SAX, and XMLPullParser. Since I started working with Java ME in 2003, SAX was the XML parser of choice, since DOM consumed to much memory and was slower. Nothing changed in Android, although the pull parser is much closer in performance to SAX.

2 comments:

Anonymous said...

There is a new XML parser that might be interesting to look at, it is called vtd-xml

http://vtd-xml.sf.net

Kevin Tan said...

I wish to learn SAX XML parsing using the android's Simplified SAX, as shown in Listing 8 in

http://www.ibm.com/developerworks/opensource/library/x-android/

In need of assistance.

kevintanhongann @ gmail dot com