Convert XSLT Structure
Operation name
Convert XSLT Structure
Function overview
Converts input data with XSLT.
Data model
The data model of this component is XML type.
For more details on input/output schema, refer to Schemas.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Input data |
Required |
Not available |
Select a component on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
XSLT read type |
Required |
Not available |
Select whether to read XSLT from a file or input it directly.
|
|
XSLT file |
Required |
Available |
Enter the path of the XSLT file. The Browse button launches a file chooser that allows you to select a file. |
Enabled when FILE is selected in XSLT read type. Note
|
XSLT text |
Required |
Available |
Enter XSLT directly. |
|
Data processing method
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Data processing method |
Required |
Not available |
Select a data processing method.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
The schema varies depending on the processing contents of XSLT.
Mass data processing
Mass data processing is supported.
Conversion by XSLT holds input data in the memory as string for once.
If the input data is too large, even if you select Perform mass data processing, OutOfMemoryError might occur.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
-
XSLT Version 1.0 is supported.
-
id function isn't available.
-
You can't get an attribute name by XPath "@attribute_name/text()".
-
When input data is table model type, all the data is handled as strings.
All of the input data is converted into strings, conversion is performed, and the results are output as strings. -
The operation isn't executed if TEXT is specified in XSLT read type and the first line of the XSLT specified in the XSLT text field contains nothing but a new line character.
-
Even if FILE is specified in XSLT read type, the operation isn't executed if the XSLT specified in XSLT text is invalid.
Exception name |
Cause |
Solution |
---|---|---|
InputDataNotFoundException |
Input data isn't specified. |
Specify Input data or draw a data flow. |
InvalidPropertyConfigurationException <Property name> is not specified. |
<Property name> isn't specified. |
Specify <property name>. |
java.io.FileNotFoundException |
The file specified in XSLT file doesn't exist. |
Check the specified file. |
javax.xml.transform.TransformerConfigurationException |
An invalid style sheet may be specified as XSLT. |
Check and modify the content of XSLT. |
javax.xml.transform.TransformerException |
An error occurred during the XSLT conversion. |
Check the exception message, and modify the specified XSLT. |