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 can be already pre-defined in Talend Studio or provided by the context or the components you are using along with this component; otherwise, you can 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 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 can be already pre-defined in Talend Studio or provided by the context or the components you are using along with this component; otherwise, you can 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 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. |
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. |
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. |
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.
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 Dynamic schema. 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:
|
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. |
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 more information about variables, see Using contexts and variables. |
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 Talend Studio. For details, see Installing external modules. |