Okay, I'm pretty new to Biztalk mapping. I am creating a map to translate purchase orders from one format to another.
The Source document uses a single element for addresses, with the attribute "type", which will have a value of either "ShipTo" or "BillTo" depending on which address it is. The destination document has seperate elements for Ship To Address Name, Line 1, Line 2, City, State, etc., and Bill To Address, City, etc....you get the idea.
So I need to map the Address element and the sub-elements in the source spec to either the Bill To Address element or the Ship To Address element in the destination spec, based on the value of the "type" attribute. This seems pretty simple, and I imagine there is probably a built-in functoid that will help me, but I am not familiar enough with them to know.
The Source document uses a single element for addresses, with the attribute "type", which will have a value of either "ShipTo" or "BillTo" depending on which address it is. The destination document has seperate elements for Ship To Address Name, Line 1, Line 2, City, State, etc., and Bill To Address, City, etc....you get the idea.
So I need to map the Address element and the sub-elements in the source spec to either the Bill To Address element or the Ship To Address element in the destination spec, based on the value of the "type" attribute. This seems pretty simple, and I imagine there is probably a built-in functoid that will help me, but I am not familiar enough with them to know.