On Fri, Feb 19, 2010 at 11:43 AM, CMF <[email protected]> wrote: > the myfile.xml is placed at res/xml/ > I would like to get all the node( but don't know how many) attribute > "name", as well as the corresponding content. >
See Mark's original response: On Fri, Feb 19, 2010 at 8:50 AM, Mark Murphy <[email protected]> wrote: > You cannot read res/values/strings.xml as XML. If you want XML > resources, put them in res/xml and use the Resources object to get an > XmlPullParser. > So look up XmlPullParser and learn how it works and how to use it to get the data you need. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

