I am setting the value of an element inside a Message Assignment shape of an Orchestration. I am using XPATH function to do it.
The text needs to be contained inside a CDATA section. This is how I tried to do it:
xpath(messageOut, "//Envelope/Body/MsgFFmt") = @"<![CDATA[" + _response + @"]]>";
However, BizTalk escapes it and the text inside the element ends up looking like this:
<MsgFFmt><![CDATA[response content goes here]]></MsgFFmt>
I can't seem to find anything on the web in regards to instructing BizTalk that I need a CDATA section around my _response string. Anybody can help?
Thanks