I have source schema contains an element of which maxOccurs="unbound"
.
I want to map this element to a destination element but its maxOccurs="1"
This case I just want to map the first occurrence of source element to destination element, and ignore the rest.
How can I do this?
I usually use the Iteration functoid where one input is the node, the other is a fixed value of 1 and map it through a value mapping functoid, the first input being the iteration functoid the second being the source element.