Example 3: Configuring the XML parser

Tom parses the output of the REST step by using the XML parser. The parsed information is the input to the next REST step, which corrects the definition of the term.

About this task

Tom uses the response body of the previous REST step as the input for the XML Parser step to get the URI of the term, 012 Farming Of Animals, which has an incorrect definition.

Procedure

  1. Click Palette, and then double-click the XML Parser step to add it to the outline. The step is added between the REST step and the Output step.
  2. On the XML Source page, select String set.
  3. From the String set list, select the XML source data, which is the output of the previous REST step.
  4. On the Document Root page, click Browse, and then select the sourceResource schema from the Select Document Root window. This schema is the schema for the XML body of the XML Parser step.