Using external XSL transformation in Talend Data Mapper - Cloud - 8.0

Data mapping

Version
Cloud
8.0
Language
日本語
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
ジョブデザインと開発 > サードパーティーシステム > 変換処理コンポーネント > データマッピング
データガバナンス > サードパーティーシステム > 変換処理コンポーネント > データマッピング
データクオリティとプレパレーション > サードパーティーシステム > 変換処理コンポーネント > データマッピング
Last publication date
2023-09-14
In previous versions of Talend Data Mapper, you can create a map with support for XSLT Report, which allows you to apply an XSL transformation to a Structure and provides you an HTML or XML result. However in version 7.0 and onwards, this support has been deprecated. If you wish to continue receiving an HTML or XML result in version 7.0 and onwards, you need to use an external XSL transformation such as the tXSLT component.

The following shows you an example scenario of a Job that uses an external XSL transformation:

Prerequisite

  • Create the input XSL and XML files in your local machine, such as:
    <catalog>
            <cd>
               <title>foo-1</title>
               <artist>bar-1</artist>
               <price>13.90</price>
            </cd>
            <cd>
               <title>foo-2</title>
               <artist>bar-2</artist>
               <price>07.90</price>
            </cd>
    </catalog>
    

    Name the file as cd.xml and cd.xsl.

  • Create a Talend Data Mapper map of XSLT Report Type with the JSON input structure. In the Properties window, specify the XML file you created previously.