Select one of a ListOf using UI Data Map / dot notation / alias
I have a complex source Integration Object instance that contains the following:
<Customer>
<Address>
<ListOfCity>
<City>
<Number>1</Number>
<Name>Elstead</Name>
</City>
<City>
<Number>2</Number>
<Name>Godalming</Name>
</City>
</ListOfCity>
</Address>
</Customer>
I want to map out "City Name" where "City Number" is 1, from <ListOfCity>, into a single address strucutre:
<Customer>
<Address>
<City>Elstead</City>
</Address>
</Customer>
Is there any way, using the UI Data Map, dot notation or alias functionality to address that one element instance within the ListOf?
I'm desparately trying to avoid eScript but fell myself pushed into it by the limited functionality of the declarative alternatives.