This mapping sample shows how to create repeating nodes from flat data inside the mapper. This sample also shows the use of some custom XSLT code inside the BizTalk mapper.
This sample works with BizTalk 2004 and BizTalk 2006.
Get more information from the original blog post on this topic: https://www.biztalkgurus.com/biztalk_server/biztalk_blogs/b/biztalk/archive/2004/10/28/how-to-create-nodes-from-flat-data-in-biztalk-maps.aspx