Translation Editor Editor Tab
Use the Editor tab for defining values for translations.
Translation Details
| Field | Use |
|---|---|
|
Add |
Click to add a row with default values for a translation. |
|
Remove |
Click to remove the row with values for a translation. |
Details
| Field | Use |
|---|---|
|
Name |
Specify a unique name for the translation. |
|
Type |
Select any one of the following:
|
|
Direction Type |
Select any one of the following:
|
|
Select |
Click to select the XSLT file that implements the translation. The file is located in the WorkspaceName/SRTCartridgeProjectName/Translations folder. |
|
Dispatch Condition Type |
Select the condition under which the translation is applied to the upstream XML document. Select any one of the following conditions, that can based either on a JMSHeader or an XPath in the upstream document:
|
|
Property Name |
Displays the JMSHeader property or XPath condition (depending on the condition type) that must be met for this translation to be applied. |
|
Property Value |
Displays the JMS header property value or XPath value (depending on the condition type) that must be matched for this translation to be applied. |
Query
| Field | Use |
|---|---|
|
Query Type |
Select any one of the following conditions on which the query can be invoked:
|
|
Dispatch Condition Type |
Select a condition type based on which a query can be invoked. |
|
Condition Label |
Specify the JMSHeader condition name or XPath condition (depending on the condition type) that must be met to invoke the query for this translation. |
|
Condition Value |
Specify the JMS header condition value or XPath value (depending on the condition type) that must be matched to invoke the query for this translation. |
XPath Map
| Field | Use |
|---|---|
|
Parameter Name XPath |
Specify the name of the XPath parameter. |
|
Parameter Value XPath |
Specify the XPath value. The SRT runs the configured XPath value and the returned name and value pairs are added to the JMS header properties. |
|
Add |
Click to add default XPath parameter name and value. |
Related Topics