There are many examples on how to parse and read XML files, but so far, I've not found one with the Android resource format XML file:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="form_submit">Submit</string>
<string name="form_abort">Cancel</string>
<string name="form_reset">Clear</string>
</resources>
- How do I read such an XML file into a Javascript variable?
- How do I read the values (Submit, Cancel, Clear) using their corresponding keys, (form_submit, form_abort, form_reset)?
Any help is appreciated. Thank you.