Hi Nitin,
There is a nice blog by Roger to write custom adapter of Replace String. This can replace any data in the payload. I have deployed this in my server any used to parse some non xml data element like "data:abc / def @" etc.
You can deploy this and use like below -
separator = ;
param1 = <?xml version= 1.0 encoding= UTF-8 ?>;<?xml version="1.0" encoding="UTF-8"?>
Thanks,
Apu