Monday, February 8, 2010

Android XML Parsing

If you ever considered which parser to use in Android, on 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.


Anonymous said...

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

L0rDKadaj said...

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

In need of assistance.

kevintanhongann @ gmail dot com