I am programming in android and I am getting some xml data through SOAP which I am placing in a string object. Now I want to get all the id's from and put them in an array. How do I do that ?????? From the code below, i want to get the values 1101, 1103 in an array..... please help
<getAvailableSpotResult>
<garage id=1 name='South Garage' address='100 acme dr' city='san jose' state='ca' zip='95052'>
<floor number='1'>
<spot id='1101' status='available'/>
<spot id='1103' status='available'/>
</floor>
</garage>
</getAvailableSpotResult>