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.
Monday, February 8, 2010
Android XML Parsing
Subscribe to:
Post Comments (Atom)
2 comments:
There is a new XML parser that might be interesting to look at, it is called vtd-xml
http://vtd-xml.sf.net
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
Post a Comment