I have a scenario where the source schema has a repeating (maxOccurs = unbounded) Address complexType with many nodes. Depending on just one value in it (addressType which could be BillTo, ShipTo, Customer, etc) these nodes should be mapped to different places in the destinatio schema.
Of course I could do it with a logical functoid-Value Mapping combination but then I would have to have this combo for each node in the Address complexType. This would be tedious. I want to do the whole thing in a type of switch (one condition only) and then copy over the nodes based on the result of this condition.
Is there any other way besides Inline XSLT to do this? If Inline XSLT is the only way, can someone show me where to start?