Running the XSL Transform sample

This topic includes instructions for running the sample. It also includes the expected output message so that you can confirm that the the sample has worked. For more information about the input message and the XSL stylesheet that are used in this sample, see Read about the sample.

If you encounter any problems when you run the sample, see Resolving problems when running samples in the IBM Integration Bus documentation.

Complete the following tasks to run the XSL Transform sample:

  1. Put the test message to the input queue:
    1. In the Application Development view, expand the XMLT Sample Message Flows project.
    2. To open the file in the Test Client, double-click XMLT_Sample_Msg.mbtest
    3. In the Test Client, click Enqueue.
    4. Click Send Message. A message is sent to the XMLT_IN queue. The message flow transforms the message and outputs it to the XMLT_OUT queue.
  2. Get the transformed message from the output queue:
    1. In the Test Client, click Dequeue.
    2. To read the message from the XMLT_OUT queue, click Get Message.

Understanding the results

The XMLTransformation node uses the deployed XSL stylesheet to transform the input test message according to a set of rules. The resulting message that is read from the output queue looks like the following screen capture:

The resulting output message read that is from the output queue.

Back to sample home