06 April, 2010

Using xpath in BizTalk orchestrations

Because I always forget the syntax... Below is how to get a count of the number of records from within an expression shape:

{variable name}= xpath({MsgName}, "count(//{MsgNode})");

You can use other xpath functions in place of "count".

You can also write values using this method, but you'd need to do this within a construct block shape.

No comments:

Post a Comment