I have a problem populating a combobox from XML using data binding.

The XML is as follows:
<types>
        <type event_type_id="1" label="General" />
        <type event_type_id="2" label="Tanning" />
        <type event_type_id="3" label="Tennis" >
                <label>bar</label>
        </type>
</types>

The third <type> is different cause it is a point in my problem.  My
combobox is:
<mx:ComboBox id="types" width="200" dataProvider="{config_xml.types.type}" />

Every sample I have found tell me that this should work with the
attributes from XML.  However, the entries in the combobox are showing
up blank, though there are three entries.  If I put in a <label> child
then it does show up.  I'm wondering what piece I am missing in order
to properly use the attributes from the XML to populate the combobox


-- 
Collin Peters
Lead Software Developer

Reply via email to