Add input and output schemas to the schema object, and then reference the schemas in the Data Processor transformation.
At the global level of the Script, add a
Mapper
component.
Assign the
source
and
target
properties of the
Mapper
to the input and output elements of the
Mapper
, respectively.
Assign the
example_source
property to a sample XML input document.
As you add components to the Mapper, the Developer tool color-codes the corresponding locations in the example source. The colors can help you confirm that the components are defined correctly.
Edit the other properties of the
Mapper
as required.
Within the
Mapper
, nest a sequence of
Map
actions, Mapper anchors, and any other required components.