XML Parsing

Android XML Parsing Tutorial – Using DOMParser

In this tutorial we are going to see about how to parse a XML file using DOM Parser.

Android XML Parsing Tutorial - Using SAXParser

Android XML Parsing Tutorial - Using DOMParser
Here we are going to see about how to parse a XML using SAX Parser.
we are going to parse XML from net not from local file.
 
Files Used:-
XMLParsingExample.java ( Main Activity )
SitesList.java ( Getter & Setter Method )
MyXMLHandler.java ( XML Handling )
example.xml ( XML file from net )
 
The output will looks similar to
 

 

Syndicate content