title: Combobox Dataprovider - Only gets labelField from XML not the associated ID
body: <p>Back again this time working with data providers.</p>
  
  <p>Well i been doing a bit of training with Flex, and I've searched, and i managed to get a ComboBox being populated through XML data. Its works pretty well, he gets the LabelField for each item from XML, but the ID associated to each item he doesn't get then from the XML.</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="355" height="465" creationComplete="getPaises.send();"
  xmlns:ns1="com.*" title="Perfil" fontWeight="normal"&gt;
  
  &lt;mx:HTTPService id="getPaises" url="com-handler/paises.php" result="paisesHandler()"/&gt;
  
      &lt;mx:Script&gt;
          &lt;![CDATA[
              private function paisesHandler():void
              {   
                  pais.dataProvider = getPaises.lastResult.paises.pais;
                  pais.data = "id";
                  pais.labelField = "nome";
  
              }
         ]]&gt;
  
      &lt;/mx:Script&gt;
  
  &lt;mx:ComboBox x="121" y="328" width="200" id="pais"&gt;
  &lt;/mx:ComboBox&gt;
  
  &lt;/mx:TitleWindow&gt;
  </code></pre>
  
  <hr>
  
  <p>And now the ouput XML from PHP:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;paises&gt;
  
      &lt;pais&gt;
          &lt;id&gt;1&lt;/id&gt;
          &lt;nome&gt;Portugal&lt;/nome&gt;
      &lt;/pais&gt;
  
      &lt;pais&gt;
          &lt;id&gt;2&lt;/id&gt;
  
          &lt;nome&gt;Espanha&lt;/nome&gt;
      &lt;/pais&gt;
  
  &lt;/paises
  </code></pre>
  
  <p>Well this is what it happens, i does gets the Country names from the XML 
  (<code>&lt;nome&gt;&lt;/nome&gt;</code>) but he doesn't place the associated ID (<code>&lt;id&lt;/id&gt;</code>).</p>
  
  <hr>
  
  <p>I now that because i placed a Label bindable to the ComboBox.selectedIndex</p>
  
  <pre><code>&lt;mx:Label x="121" y="403" text="{pais.selectedIndex}"/&gt;
  </code></pre>
  
  <p>And as you also see i used <code>pais.data = "id";</code> that according to examples i saw in the web, it should include the ID from XML to each item NOME in the ComboBox.</p>
  
  <p>I new to Flex, so probably didn't expressed things the right way.</p>
  
  <p>Any help is appreciated. Thanks.</p>