# (FMX04)XML Combobox- Selecting certain data

**URL:** <https://forum.kirupa.com/t/fmx04-xml-combobox-selecting-certain-data/123752>\
**Category:** Uncategorized\
**Created:** [September 27, 2004, 1:38am UTC](https://forum.kirupa.com/t/fmx04-xml-combobox-selecting-certain-data/123752 "2004-09-27T01:38:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![poisontheused](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@poisontheused](https://forum.kirupa.com/u/poisontheused)\
**Post date:** [September 27, 2004, 1:38am UTC](https://forum.kirupa.com/t/fmx04-xml-combobox-selecting-certain-data/123752/1 "2004-09-27T01:38:42Z")

</div>

Hi,

I am wanting to create a combobox that displays data from an XML file. I’ve done that through the use of the XML connector component and binding it to the combobox.

The problem is i dont want all of the Data values displayed in the combobox. just values that dont already exist from that array. eg. The XML file is a list of Car makes and models. It contains about 120 cars of varying manufacturers. Theres usually about 10 from each manufacturer so i dont want that manufacturer displayed in the combobox more than once.

Any ideas on how to do this, the XML file is setup like the folllowing:

```auto
 
<stocklist>
<vehicle>
<make>Toyota</make>
<model>Rav4</model>
</vehicle>
<vehicle>
<make>Toyota</make>
<model>Corolla</model>
</vehicle>
</stocklist>
 

```
