Re: Evaluating on the amount of items returned in a message

Home Page Forums BizTalk 2004 – BizTalk 2010 Evaluating on the amount of items returned in a message Re: Evaluating on the amount of items returned in a message

#23350

Hi Grant,

 

    BizTalk uses XLANGs as its programming language in Orchestrations and underlying shapes, it’s derived from C# and is limited in its scope and syntax. For instance, the statement “Foreach” is not allowed.

 

    You can use XPath to achieve what you want in parsing and grouping the contents of your output message. Here’s a link on how to get started on XPath: http://www.w3schools.com/xpath/default.asp

    The following link is a sample from BizTalkGurus on using XPath in orchestrations (written for version 2004 but still applicable for 2006 R2):

http://www.biztalkgurus.com/media/p/15516.aspx

    Here’s a link to another blog that you would find useful dealing with XPath: http://geekswithblogs.net/sthomas/archive/2004/10/25/13269.aspx

 

    I hope this is enough information to get you started… Let me know how you make out on this.

 

    Daniel.