I’m looking A little help on parsing XML from the internet to an Android Device. I’ve had a look into it and cant get my head around it, i feel alot of the stuff online is too complicated for what I need. What would you guys recommend? Here is a snippet of some of the XML im looking to parse.
<weatherdata>
<timetags>
<item name="date">
<value>20/03/2012</value>
<unit/>
<image/>
<class>dynamic</class>
<description>The current date</description>
</item>
<item name="time">
<value>11:00 on 20 March 2012</value>
<unit/>
<image/>
<class>dynamic</class>
<description>The current time</description>
</item>`
There are two Parsers : SAX and DOM as you might have googled it. They are not that complicated if you give time. I found this example really helpful. It provides example for both parser in detail explanation. http://www.java-samples.com/showtutorial.php?tutorialid=152