Attaching XML payload to JSON target in XSLT (OIC Mapper) — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Attaching XML payload to JSON target in XSLT (OIC Mapper)

Summary:

Attaching XML payload to JSON target in XSLT (OIC Mapper)

Content (please ensure you mask any confidential information):

I have a requirement where I have to attach the XML payload (as-is) to a target JSON payload. I am using the following mapping:

<ns38:Value>
<xsl:copy-of select="/nssrcmpr:execute/ns19:Document"/>
</ns38:Value>

This should work as is but seems its converting the source xml payload to JSON form while mapping which is not what I want.

The resulting payload should look like hybrid form of JSON structure with an xml payload (maintaining its structure) attached to it.

Appreciating any inputs on this?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!