Reputation: 185
I have stored my xml file under res/xml/project.xml
how to read,parse and display xml file
Thank You`
my xml file
<?xml version="1.0" encoding="UTF-8"?<AllProjects><project> <title>test</title <author>Peter</author> <publication-Date>2005</publication-Date> <price>29.99</price</project> <project > <title>android</title><author>Ray</author>
<publication-Date>2003</publication-Date><price>39.95</price> </project></AllProjects>
Upvotes: 2
Views: 6545
Reputation: 3214
There's a good step-by-step guide for doing this on Android here using the XmlPullParser.
Upvotes: 2