example of both cordova and web apps getting a local xml and parsing it with jquery