Instead of res/xml folder, Put it in the assets folder or the sdcard,
and read it from there.

You will find examples on how to do it.
http://www.codeweblog.com/how-to-read-the-assets-directory-resources/

Thanks and Regards,
Kumar Bibek

On May 22, 4:33 am, hoppestokk <[email protected]> wrote:
> What is the easiest way to read an xml file?
> How is the best way to store the information from the xml?
>
> I have tried to find a good tutorial, but I just can't get it to work :
> (
>
> I have an xml file in /res/xml called myxml.xml which looks like this:
>
> <?xml version="1.0"?>
> <school>
>         <student>
>                 <fname>Ola</fname>
>                 <lname>Nordmann</lname>
>         </student>
> </school>
>
> I just want a simple way to read and store.
>
> (Yes, I am a beginner :P)
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to