BizTalk Document Mapping – Mass Copy Functoid

Posted: July 20, 2009  |  Categories: BizTalk Maps

The Mass Copy functoid allows source records and containing elements and attributes to be copied and mapped across to the destination schema. It creates a wildcard (/*) XSLT template match to recursively copy elements.

Benefits

  • May provide a performance benefit, as each source and destination elements do not require a 1:1 detailed mapping on all subsequent schema nodes, requiring fewer XSLT code instructions to be interpreted and executed at runtime. Very useful when XML structures in source and destination schemas are compatible (identical).
  • Allows large structure to be mapped quickly on design time
  • Very useful when the destination is defined as an <xs:any> type, Mass Copy Functoid can be performed only with the node level, not with the fields level. So the node containing the <ANY> field has to be mapped.

Problems/Limitations

  • Mass Copy Functoid will “blindly” copy all child elements specified in the destination schema and it will not copy elements out of order or check for required values in the destination schema.º
Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

BizTalk360
BizTalk Server

Over 500+ customers across
30+ countries depend on BizTalk360

Learn More
Serverless360
Azure

Manage and monitor serverless
components effortlessly

Learn More
Atomicscope
Business Users

Monitor your Business Activity in iPaaS
or Hybrid integration solutions

Learn More

Back to Top