Data Integration, Integration Cloud
Simplifying Data Transformation with XSLT Mapper in Oracle Integration Cloud

Data transformation is a crucial component of any integration process. In Oracle Integration Cloud (OIC), the XSLT Mapper simplifies this task, allowing developers to visually map data between source and target systems. This tool empowers users to transform complex data formats with minimal coding, streamlining integration development.
What Is the XSLT Mapper in OIC?
The XSLT Mapper in OIC is a visual tool for creating transformation logic between two data structures. It uses Extensible Stylesheet Language Transformations (XSLT) to define the rules for converting source data into the target format. Its intuitive drag-and-drop interface removes the need for manual XSLT coding in most scenarios.
Key Features of the XSLT Mapper
- Drag-and-Drop Interface: Visually link source fields to target fields.
- Built-in Functions: Use a rich library for string manipulation, arithmetic operations, date conversions, and more.
- XPath Support: Create advanced field mappings with XPath expressions.
- Error Validation: Detect and flag issues in mapping logic for accurate transformations.
- Custom Templates: Reuse templates for common mapping patterns.
How XSLT Mapper Simplifies Data Transformation
Visual Representation
The mapper displays source and target schemas in a tree-like structure, making complex hierarchies easier to navigate and understand.
Prebuilt Functions
Apply date formatting, string operations such as concatenation and substring, and arithmetic calculations directly in the mapper.
Intuitive Mapping
Connect source and target fields by drawing a line between them. Configure conditions and loops for arrays or repeating elements through context menus.
Error-Free Transformation
Validate mappings during development to check data-type compatibility and transformation accuracy.
Code-Free Experience
Create robust transformations with limited XSLT or XPath knowledge through visual aids and an intuitive interface.
Example Use Case: Mapping Customer Data
A business needs to transform customer data from one application into a format compatible with another.
Source XML
<customer>
<firstName>John</firstName>
<lastName>Doe</lastName>
<dob>1990-01-01</dob>
</customer>Target XML
<customerdetails>
<fullName>John Doe</fullName>
<birthdate>1990-01-01</birthdate>
</customerdetails>Steps in XSLT Mapper
- Map
firstNameandlastNametoFullNameusing theconcat()function. - Map
dobdirectly toBirthDate.
The resulting XSLT would look like this:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<CustomerDetails>
<FullName>
<xsl:value-of select="concat(/customer/firstName, ' ', /customer/lastName)"/>
</FullName>
<BirthDate>
<xsl:value-of select="/customer/dob"/>
</BirthDate>
</CustomerDetails>
</xsl:template>
</xsl:stylesheet>Best Practices for Using XSLT Mapper in OIC
- Understand Source and Target Schemas: Familiarize yourself with both structures to avoid misalignment.
- Use Built-in Functions: Use OIC's extensive library for efficient transformation.
- Validate Regularly: Test mappings periodically during development.
- Comment Complex Logic: Add comments to clarify complex mappings.
- Test Edge Cases: Use varied inputs to ensure the mapping handles every scenario.
Benefits of XSLT Mapper in OIC
Conclusion
The XSLT Mapper in Oracle Integration Cloud is a game-changer for data transformation tasks. Its visual approach, robust features, and ability to simplify integration development make it essential for modern integrations. Whether you are an experienced developer or a business analyst, the mapper helps you create efficient, error-free transformations that drive seamless data integration across your organization.
