Mapping non-hierarchical data to hierarchical one

miki86

New Member
Imagine I have the following xml files that I need to map.Source\[code\]<Persons> <Person> <Id>2</Id> <ParentId>3</ParentId> <Name>Some dude</Name> </Person> <Person> <Id>3</Id> <ParentId></ParentId> <Name>Some dude2</Name> </Person></Persons>\[/code\]Destination\[code\]<Persons> <Person> <Name>Some dude</Name> <Parent> <Name>Some dude2</Name> </Parent> </Person></Persons>\[/code\]Now, how should I correspond the right parent to the person in biztalk map?Thanks
 
Back
Top