# XML as ComboBox DP

**URL:** <https://forum.kirupa.com/t/xml-as-combobox-dp/241320>\
**Category:** flash\
**Created:** [October 12, 2007, 6:14am UTC](https://forum.kirupa.com/t/xml-as-combobox-dp/241320 "2007-10-12T06:14:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flip](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@flip](https://forum.kirupa.com/u/flip)\
**Post date:** [October 12, 2007, 6:14am UTC](https://forum.kirupa.com/t/xml-as-combobox-dp/241320/1 "2007-10-12T06:14:15Z")

</div>

Is it possible (advisable?)to use a loaded XML directly as a ComboBox DataProvider or is it best to separate the XML into separate arrays for each part of the tree you want to access?

I’m constructing a map with a cursor which moves to a location depending on a site selected from a ComboBox. The selection also loads a text field with site details.  
The XML structure is:  
\<sites\>  
\<site\>  
\</coordinates\>  
\</details\>  
\</site\>  
\<site\> …  
\</sites\>
