Skip to main content Skip to complementary content

Using a map in a Route

Create a Route to map an XML input with headers to a JSON output.

About this task

In this example you have an XML file containing information about an account. The goal is to convert it to a JSON file and to retrieve the missing Website and Phone values from headers. This example uses the following XML sample as input:
    <Company_Name>XYZ INC.</Company_Name>
    <Address1>3320 TATES CREEK RD</Address1>
    <Address2>SUITE 204</Address2>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!