Use the Translation editor to configure translations. In the Studio Projects view, double-click a translation entity to open the Translation editor. You can create the editor using the Translation Wizard.
When working with the Translation editor, see the following topics:
Use the Editor tab for defining values for translations.
| 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. |
| 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. |
| 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. |
| 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. |
Use the Blueprint tab to view the generated documentation for the translation entity. This tab is read only.