I have to map the below scenario but when i am mapping it is changing the tag to < >
Input
<Details><Error><Id></id></error><Error><Id></id></error></Details>
Requried Output
<WSReq>
<ErrorDetails><![CDATA[<Error><Id></id></error><Error><Id></id></error>]]>
</ErrorDetails>
<WSReq>
Here the ErrorDetails element is string.
Output i am getting is <ErrorDetails><![CDATA[<Error><.........]]>
This is because reading data into string. Is there is any way i can control it
Please suggest
- Edited by Phill Ed Saturday, May 30, 2015 2:35 AM