cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping help

Former Member
0 Kudos

Hi all,

I have a scenario to create a mapping where source is a structure and target is the simple message with one field only. I need to map the entire source xml to the target field such that this field should contain the entire xml string.

Source

msg

|--Msg1

|--node1

|--node2

|--node n

Target

msg

|-field (string)

field must contain the entire xml string to be sent to the target system which expects that.

Can any body please suggest. Any help will be appriciated.

Thanks

-Kulwant

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey

In XSLT mapping use Cdata.

Thanx

Aamir

Former Member
0 Kudos

Hi Aamir,

Thanks for the quick reply.

I am not aware of how to do this. Can you please suggest the steps. I have never done XSLT mapping itself

Thanks

-Kulwant

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey

The XSLT code is given in the following blog

Thanx

Aamir

Former Member
0 Kudos

Hi,

Refer the below thread

It contains the mapping of the entire source payload to a specific element in target.