Paul_Biz
Paul_Biz

Reputation: 13

BizTalk 2013 Getting xml content in map

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

Answers (1)

Zee
Zee

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">&lt;![CDATA[</xsl:text>
<xsl:copy-of select="/" />
<xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
</xsl:element>

Upvotes: 1

Related Questions