arunk
arunk

Reputation: 185

how to read and parse resource xml file in android

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

Answers (1)

conjugatedirection
conjugatedirection

Reputation: 3214

There's a good step-by-step guide for doing this on Android here using the XmlPullParser.

Upvotes: 2

Related Questions