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?