Reputation: 13
How can I get the XML context (the entire Msg) using a map, from the source schema, and pass it to an element field in the destination schema?
Scenario Description: The Msg was previously received (already in MsgBox). The map is located in a SendPort of type WFC-Custom with SqlBinding. The idea is to storage the entire XML Msg into a Database table field of type XML.
I'm not using any Orchestration on this application, on BizTalk 2013 R2.
Upvotes: 0
Views: 865
Reputation: 840
you can use a script functoid and write a inline xslt like below
<xsl:element name="tgtXml">
<xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text>
<xsl:copy-of select="/" />
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</xsl:element>
Upvotes: 1