Accessing elements in a message in the DFDL domain

You can use ESQL to manipulate the logical tree that represents a message in your message flow. This topic describes how to access data for elements that are in a message in the DFDL domain.

About this task

You can populate an element with data by using the SET statement:
SET OutputRoot.DFDL.MyMessage.Name = UPPER(InputRoot.DFDL.MyMessage.Name);

The field references in the ESQL statement both refer to the element Name within the message MyMessage, that is modeled in a DFDL schema file. This statement takes the input value for the Name field, converts it to uppercase, and assigns the result to the same element in the output message.