9
I'd like to know what is the easiest way to write to and parse a XML file in Android.
My requirement is very simple. A sample file would be something like:
<Item ID="1" price="$100" Qty="20" />
And I only want to retrieve an item by the ID and read price and Qty.
I was referring to Using XmlResourceParser to Parse Custom Compiled XML, but wondering if there is a much lightweight way to do something trivial as this (still using tags).