Is the question whether the XML should be defined in the view?
Not exactly. My StatesMediator binds the statesArray to the comboBox. The comboBox then displays just the state names. But since I bound the full XML (including the cities for each state), I can get the cities for the selected state within the view by simply saying:
citiesCombo.dataProvider = XML(statesCombo.selectedItem).cities.city as XMLList;
So, my question is: is it bad to be doing that work on the data within the view, or should I implement something else so that the mediator tells the citiesCombo what it's data should be?
Hopefully that's more clear.