Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
transform list of key/value xml to value format — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

transform list of key/value xml to value format

Accepted answer
12
Views
1
Comments
edited Feb 25, 2020 9:39AM in Integration 1 comment

Content

i have xml payload that comes to OIC with this format
<paramName>key1</paramName>

<paramValue>value1</paramValue>

<paramName>key2</paramName>

<paramValue>value2</paramValue>

.

.

.

and so on
i want to write this payload to a file and convert and read it as direct attributes list (convert it to the following )
<key1>value1</key1>

<key2>value2</key2>

 

how to achieve that ?

Version

19A

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!