Adding Namespace and xsi:type to the XML element field

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Adding Namespace and xsi:type to the XML element field

Viewing 1 reply thread
  • Author
    Posts
    • #23724

      Hi I need to add a namespace and xsi:type to the destination element that I am mapping in the Map.

      When I am mapping data the message is created like this

      <ns5:Values>

        <ns5:Value>0</ns5:Value>
        </ns5:Values>

      I just showed the xml record  upto which I need and having problem. dont bother about the value “0”, according to my requirement it should look like this.

      <ns5:Value xmlns:ns3=“http://microsoft.com/wsdl/types/“ xsi:type=“ns3:guid“>guid of contact</ns5:Value>

      so I need to add namespace and datatype, How should I do that?

      Thanks in Advance

    • #23725

      Hi,

       

         Use a Scripting Functoid of type Inline XSLT in your map to accomplish this.

       

         Daniel.

       

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.