title: How to populate spinner from online XML link data
body: <p>Want to populate the spinner from the online XML data which i am getting from link for example-<a href="http://example.com/abc.svc/APIGetalllocationAgentID=1234&amp;KeyCode=123456789012345677544" rel="nofollow">http://example.com/abc.svc/APIGetalllocationAgentID=1234&amp;KeyCode=123456789012345677544</a></p>
  
  <p><strong>From the above link assume I am getting the below pattern of XML</strong></p>
  
  <pre><code>   &lt;a:Cityvalues&gt;
      &lt;a:FromCityId&gt;123&lt;/a:FromCityId&gt;
      &lt;a:FromCityCameIdName&gt;Cityname&lt;/a:FromCityCameIdName&gt;
      &lt;a:ToCityId&gt;321&lt;/a:ToCityId&gt;
      &lt;a:ToCityNameidName&gt;Cityname&lt;/a:ToCityNameidName&gt;
      &lt;/a:CityValues&gt;
  </code></pre>
  
  <p><strong>From the above XML value format which i am getting from the link..want to fill the spinner of android of tag</strong> <code>&lt;a:FromCityCameIdName&gt;Cityname&lt;/a:FromCityCameIdName&gt;</code> <strong>i.e the spinner should display Cityname</strong></p>