Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Mapping in Link can be done in a lot of different ways:

  • Create a custom itinerary step in C#

  • Expose a service that does the mapping in a 3rd party tool and in Link use the Http itinerary step to invoke it either using sync or async call

  • Use XSLT to do the transformation directly in Link using XslTransform itinerary step

We recommend using the out-of-the-box XSLT support. XSLT is a WWW Standard to do transformation between epsecially xml. The great advantage of using XSLT for transformation is you are not bound to one platform. XSLT can be used as transformation in most integration platforms weather it is Azure Logic Apps, IBM Integration bus, Microsoft BizTalk Server, Dell Boomi or Oracle SOA Suite.

Besides just the support of XSL, Link XslTransform also support the option of easily integrating your own methods/functions to use directly from a XSL map. It could be a functions in C# that uses API to lookup additional data in your ERP, PIM, WMS or other internal systems. Maybe you need to lookup correct item id based on a GTIN, correct account using GLN or number of items on stock. This could then easily be done directly from the mapping. See how to create your own methods here: Create your own mapping helper class

Link already has a lot of Link specific XSL methods available to look up additional data in Link like extract configuration key data in Link from either partner or distribution. This could be data not available in ERP like EDI Contract number, or choises of weather to map 0 quantoty lines to recipents or not. You can read more here about the list of additional xsl methods Link support out-of-the-box: LinkProxy - XSLT

Reuseability

Reasons to Choose XSLT as a Mapping Language:

  1. Standardized and Widely Supported: XSLT is a W3C standard, ensuring broad compatibility across different platforms and tools, making it a reliable choice for enterprises with varied systems.

  2. Powerful and Flexible Transformations: XSLT excels in transforming XML data into different formats, whether it's XML-to-XML, XML-to-HTML, or XML-to-text. It provides powerful constructs like templates, loops, and conditionals to perform complex data manipulations.

  3. Declarative and XML-Based: Being XML itself, XSLT allows transformations to be described declaratively, which can be easier to maintain and understand, especially in environments where XML is the primary data interchange format.

  4. Integration with Existing Tools: Many integration platforms provide native support for XSLT, allowing it to be seamlessly integrated into existing workflows without requiring additional tools or custom code.

  5. Reusability and Modularity: XSLT stylesheets can be modular, with templates that can be reused across different transformation scenarios, promoting code reusability and reducing development time.

Given these advantages, XSLT remains a strong choice for XML transformations, especially in environments that prioritize standardization, flexibility, and the need for robust integration capabilities across diverse systems.

  • No labels