EDN Admin
Well-known member
Hi,
I have a incoming multiple elements data, where label = code then check for value if equal TEST then the appropriate data should be mapped to destination.
Sample inbound:
<header>
<items>
<item>
<lists>
<list>
<label>code</label>
<value>TEST</value>
</list>
<list>
<label>name</label>
<value>x</value>
</list>
<list>
<label>city</label>
<value>springs</value>
</list>
</lists>
</item>
<item>
<lists>
<list>
<label>dev</label>
<value>ckc</value>
</list>
<list>
<label>name</label>
<value>y</value>
</list>
<list>
<label>city</label>
<value>albany</value>
</list>
</lists>
<lists>
<list>
<label>dev</label>
<value>ckc</value>
</list>
</lists>
</item>
</items>
</header>
Outbound:
<header>
<details>
<value>TEST</value>
<name>X</name>
<city>springs<city>
</details>
</header>
Thanks,
varun
View the full article
I have a incoming multiple elements data, where label = code then check for value if equal TEST then the appropriate data should be mapped to destination.
Sample inbound:
<header>
<items>
<item>
<lists>
<list>
<label>code</label>
<value>TEST</value>
</list>
<list>
<label>name</label>
<value>x</value>
</list>
<list>
<label>city</label>
<value>springs</value>
</list>
</lists>
</item>
<item>
<lists>
<list>
<label>dev</label>
<value>ckc</value>
</list>
<list>
<label>name</label>
<value>y</value>
</list>
<list>
<label>city</label>
<value>albany</value>
</list>
</lists>
<lists>
<list>
<label>dev</label>
<value>ckc</value>
</list>
</lists>
</item>
</items>
</header>
Outbound:
<header>
<details>
<value>TEST</value>
<name>X</name>
<city>springs<city>
</details>
</header>
Thanks,
varun
View the full article