Generating WebSphere Enterprise Service Bus maps in XSLT 2.0

For XML maps that are developed in IBM® Integration Designer version 7.5 or IBM Integration Designer version 8, generate your WebSphere® Enterprise Service Bus XML maps in XSLT 2.0 to improve compatibility with IBM Integration Bus XML maps.

About this task

You use XPath 2.0 to define XML maps properties, functions, and custom XPath expressions in IBM Integration Bus. However, in WebSphere Enterprise Service Bus, you generate XML maps in XSLT 1.0 by default. For IBM Integration Designer version 7.5 and IBM Integration Designer version 8, you can choose to generate XML maps in XSLT 2.0.

In IBM Integration Bus, the XML map editor supports XPath 2.0 to define built-in functions, custom XPath expressions, and properties. XML maps get generated into XQuery. XQuery is a superset of XPath 2.0 and embeds custom XPath expressions.

Note: IBM Integration Bus operates in XPath 1.0 compatibility mode that is set to false. For more information, see XML Path Language (XPath) 2.0 (Second Edition).

Procedure

To generate WebSphere Enterprise Service Bus XML maps in XSLT 2.0, complete the following steps in IBM Integration Designer:

  1. In the Business Integration view, open a map in the XML map editor. Select project name > Transformations > Data Maps > xslt. Double-click a map file.
  2. Select Properties > Generation.
  3. Choose XSLT 2.0 as your Target engine.
  4. Optional: If the transformations contained within a map do not support the specified generation type, you might see validation errors. Fix any validation errors.

What to do next

Check WebSphere Enterprise Service Bus resources for additional checkpoints. For more information, see Checking WebSphere Enterprise Service Bus resources before conversion.