on 07-14-2015 11:40 AM
Hi All,
I have a requirement where i get the input payload with multiple CDATA.
i.e., xml string is wrapped in CDATA and xml string also contains CDATA elements in it .
My requirement is to eliminate the first CDATA and pass the payload as it is with rest of the CDATA elements.
What could be the better option that i need to go with either JAVA mapping or XSLT mapping.
Please provide the code for the same.
Thanks
Sai
>>>I have a requirement where i get the input payload with multiple CDATA.
How are you receiving this CDATA segments? Inside a field ? If so did you try replace string function?
>>What could be the better option that i need to go with either JAVA mapping or XSLT mappin
if not - You can go for java mapping to replace the first occurrence of Cdata.
>>>Please provide the code for the same
You should give a try first and if you stuck somewhere we can help you.
Sample code to read the input stream:
Dynamic file name for pass-through scenario - Process Integration - SCN Wiki
Replace first occurrence :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.