Skip to Content
0
Former Member
Feb 26, 2008 at 06:03 AM

Dynamic Change of XML Version and Encoding based on Input Field

29 Views

Hi,

I have a requirement where in the scenario is IDOC to XML File.

I have done the Message mapping for Transformation Logic.

But the Output XML prolog should look like this < XML Version='1.0/None' encoding = 'Shift-JAS/None'>

If the RCVLAD Field ends with the String "JP", then my Version should be '1.0 and encoding = Shift-JAS'

else

Version should be NONE and encoding should be NONE.

Any pointers are highly appreciated and will be rewarded with points.

Thanks in advance

Regards,

Babu