Skip to main content Skip to complementary content

tXSLT Standard properties

These properties are used to configure tXSLT running in the Standard Job framework.

The Standard tXSLT component belongs to the XML family.

The component in this framework is available in all Talend products.

Basic settings

XML file/stream

File path to the XML file or data flow to be validated. Note that in the case of stream, the data must be added to the flow for the component to fetch the data through the corresponding variable.

The data flow to be processed must be added to the flow in order for this component to fetch these data via the corresponding representative variable.

This variable could be already pre-defined in your Studio or provided by the context or the components you are using along with this component; otherwise, you could define it manually and use it according to the design of your Job, for example, using tJava or tJavaFlex.

In order to avoid the inconvenience of hand writing, you could select the variable of interest from the auto-completion list (Ctrl+Space) to fill the current field on condition that this variable has been properly defined.

For further information about how to use a stream, see Reading data from a remote file in streaming mode.

Information noteNote:
  • This field supports streaming input only when you have installed the R2021-11 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.
  • This field is not available if you select the Use column instead of file/stream for XML option.

XSL file/stream

File path to the reference XSL transformation file or transformation data flow. Note that in the case of stream, the data must be added to the flow for the component to fetch the data through the corresponding variable.

The data flow to be processed must be added to the flow in order for this component to fetch these data via the corresponding representative variable.

This variable could be already pre-defined in your Studio or provided by the context or the components you are using along with this component; otherwise, you could define it manually and use it according to the design of your Job, for example, using tJava or tJavaFlex.

In order to avoid the inconvenience of hand writing, you could select the variable of interest from the auto-completion list (Ctrl+Space) to fill the current field on condition that this variable has been properly defined.

For further information about how to use a stream, see Reading data from a remote file in streaming mode.

Information noteNote:
  • This field supports streaming input only when you have installed the R2021-11 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.
  • This field is not available if you select the Use column instead of file/stream for XSL option.

Output file

File path to the output file. If the file does not exist, it will be created. The output file can be any structured or unstructured file such as html, xml, txt or even pdf or edifact depending on your xsl.

Information noteNote: This field is not available if you select the Use column instead of File for Result option.

Parameters

Click the plus button to add new lines in the Parameters list and define the transformation parameters of the XSLT file. Click in each line and enter the key in the name list and its associated value in the value list.

Use column instead of file/stream for XML

Select this option to use the data of a specified column as the input. You need to specify the column to which the input data is passed to in the Input column for XML drop-down list.

Information noteNote: This option is available only when you have installed the R2021-11 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

Use column instead of file/stream for XSL

Select this option to use the data of a specified column as the XSL. You need to specify the column to which the XSL data is passed to in the Input column for XSL drop-down list.

Information noteNote: This option is available only when you have installed the R2021-11 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

Use column instead of File for Result

Select this option to output the transformed data to a specified column. You need to specify the column to which the transformed data is passed to in the Input column for result drop-down list.

Information noteNote: This option is available only when you have installed the R2021-11 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

Schema and Edit Schema

A schema is a row description, it defines the number of fields to be processed and passed on to the next component. The schema is either Built-in or stored remotely in the Repository.

  • Built-in: The schema will be created and stored locally for this component only. Related topic: see Talend Studio User Guide.
  • Repository: The schema already exists and is stored in the Repository, hence can be reused in various projects and Job flowcharts. Related topic: see Talend Studio User Guide.

This component offers the advantage of the dynamic schema feature. This allows you to retrieve unknown columns from source files or to copy batches of columns from a source without mapping each column individually. For further information about dynamic schemas, see Talend Studio User Guide.

This dynamic schema feature is designed for the purpose of retrieving unknown columns of a table and is recommended to be used for this purpose only; it is not recommended for the use of creating tables.

Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this option to view the schema only.

  • Change to built-in property: choose this option to change the schema to Built-in for local changes.

  • Update repository connection: choose this option to change the schema stored in the repository and decide whether to propagate the changes to all the Jobs upon completion. If you just want to propagate the changes to the current Job, you can select No upon completion and choose this schema metadata again in the Repository Content window.

Information noteNote: These two options are available only when you have installed the R2021-11 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

Sync columns

Click to synchronize the output file schema with the input file schema. The Sync function only displays once the Row connection is linked with the Output component.

Information noteNote: This option is available only when you have installed the R2021-11 Studio Monthly update or a later one delivered by Talend. For more information, check with your administrator.

Advanced settings

tStatCatcher Statistics

Select this check box to gather the processing metadata at the Job level as well as at each component level.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

OUTPUT_FILEPATH: the output file path. This is a Flow variable and it returns a string.

OUTPUT_FILENAME: the output file name. This is a Flow variable and it returns a string.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

Usage rule

This component can be used as standalone component.

Limitation

Due to license incompatibility, one or more JARs required to use this component are not provided. You can install the missing JARs for this particular component by clicking the Install button on the Component tab view. You can also find out and add all missing JARs easily on the Modules tab in the Integration perspective of your studio. For details, see Installing external modules. You can find more details about how to install external modules in Talend Help Center (https://help.talend.com).

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!