Transforming XML with Related Tasks

In addition to the Transform mediation task, ActiveMatrix provides tasks that enable you to manipulate XML data in text, binary, or tree formats.

The Parse XML Task

The Parse XML task is used when you have an XML document stored in a string or binary field. This task produces a tree representation of the XML that can be used by subsequent tasks in the mediation flow. You can pair the Parse XML task with the Render XML task to convert the parsed XML back into a string or binary field for transmission within a message. See Parse XML for reference information about this task.

The Render XML Task

The Render XML task takes an XML tree for a specified schema and converts it to a string or binary element that contains the XML document. You can pair the Render XML task with the Parse XML task to convert the parsed XML back into a string or binary field for transmission within a message. See Render XML on page 195 for reference information about this task.

The Validate XML Task

You can use the Validate XML task to validate message data, a WSDL message, XML text, binary, or XML tree formats against a schema. The output of the Validate XML task is contributed to the mediation exchange, and can be used by downstream tasks. See Validate XML for reference information about this task.

In addition to the Validate XML task, the message received by the mediation component can be validated using the VALIDATE_MESSAGE_DATA property that is added by default to mediation flows. See Validation of Message.