Skip to Content
0
Former Member
Feb 01, 2011 at 11:51 PM

Xml String mapped to XML Node

46 Views

Hi All,

I have a structure like

<?xml version="1.0" encoding="UTF-8"?>

<ResponsePayload>

<RespString><?xml version="1.0" encoding="UTF-8"?><Devices>

<Device><Name>Nuts</Name><Units>5</Units></Device><Device><Name>Bulbs</Name><Units>6</Units></Device><Device><Name>Screws</Name><Units>3</Units></Device></Devices></RespString>

</ResponsePayload>

In the "RespString" element I have the xml string. I need to map this xml string to a node in my target mapping. Am having a XML in a single string in mah request and wanna convert that into a XML node in an xml

<?xml version="1.0" encoding="UTF-8"?>

<ResponsePayload>

<Devices>

<Device><Name>Nuts</Name><Units>5</Units></Device>

<Device><Name>Bulbs</Name><Units>6</Units></Device>

<Device><Name>Screws</Name><Units>3</Units></Device>

</Devices>

</ResponsePayload>

Thx in advance

Ravijeet