Xpath in orchestration – need help

Home Page Forums BizTalk 2004 – BizTalk 2010 Xpath in orchestration – need help

Viewing 1 reply thread
  • Author
    Posts
    • #14177

      Let’s say I have an incoming XmlDocument which has a field called \”ID\”. The \”ID\” field appears in different sections of the Xml, and the value will be the same in all the sections. I need to modify the value of the field from my BizTalk orchestration. Because this is a XmlDocument, with no schema associated to the message, I am not sure on how to do this. Maybe xpath can be a solution? If so, how can I use xpath to substitute the value of all the \”ID\” fields in the incoming document? I appreciate any help on this. Thanks

    • #14176

      On first thought, I’d probably call out to an external component which accepts an XmlDocument parameter, do a simple doc.SelectNodes(\”//ID\”) and then loop through all the responses, changing the values. Then return that doc to the orchestration.

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