I have various cases in my document, for example one could read:
<trkpt lat="59.329816021674275" lon="18.070487026335239" />
Other line can be:
<trkpt lon="18.062546" lat="59.334781">
I need to get only latitude and longitude values between qutoes. I was searching for indexes of 'lat' and 'lon' and then extract only values until ".
Can someone provide simpler solution using Android (Java)?