Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Syntax

Code Block
XML
XML
<smooks [config-key="string"]>
   <input [type="|text|xml"><]/input>>
   <output [type="|text|xml"></output>|java"] [property="string"] [action="string"]/>
</smooks>

...

UI Configuration

...

  • Config-Key
  • Input- User can define the input as text or XML.
    • Expression - Specify an XPath as an expression to pick the exact message block. Else, the entire 'message body' will be selected by default. 
  • Output - Similar to input, the user can define how the output should be. The output type can be text, XML, or Java, and the output can be a property or expression. When the user defines the output as a property, the property will be saved in the messagecontext for future uses. When the user defines the output as an expression, there are additional actions that can be performed:
    • Add - The selected node will be added as a child to the message.
    • Replace - Selected node will be replaced in the message.
    • Sibling - Selected node will be added as a sibling.

...