During the development of a mapping for an integration solution, it sometimes happens that a developer needs to use an XPath query to extract one or more values from the input message(s). The standard Scripting functoid is sometimes just not enough. For this (rare and quite advanced) cases we have developed a custom functoid that is quite unique is the whole BizTalk community: the XPath functoid.

The XPath functoid can be found in the ‘String Functoids’ category in the Toolbox. All a developer needs to do is drag the functoid from the toolbox just like any other functoid (1.), configure the inputs (2.) and connect the output to a node in the target message (3.).

Some attention should be paid when configuring the input values (2.).