1. Inside loc tag, there are fid, old and version elements. I am unable to extract those because they are all inside one tag. How can I extract those ?
2. Once extracted, I need to save it to sqlite db. Is there any easy method of doing that?
Thanks in advance.
1. In SAXParser, you can get attribute value using method Attributes.getValue().
If you use XMLPullParser, get attribute value by method getAttributeValue()
2. Yes, Android provide abstract class 'SQLiteOpenHelper' for help you to manage database.