Today, we will focus on another set of libraries available for BizTalk Server 2020: XPath Functoids. This library was created a few years ago by Martijn Schiedon and is part of the BizTalk Mapper Extensions UtilityPack project that is now being migrated to BizTalk Server 2020.
📝 One-Minute Brief
Introduces the XPath Functoids in the BizTalk Mapper Extensions UtilityPack for BizTalk Server 2020, allowing developers to embed native XPath expressions directly into BizTalk maps without relying on scripting or custom XSLT.
XPath Functoids
This library includes a suite of functoids that provide XPath methods that you can use inside the BizTalk mapper.
This project includes the following Custom Functoids:
- XPath Functoid: This functoid natively integrates custom XPath queries in the BizTalk mapper. This unique functoid, which is a powerful competitor to the Scripting Functoid or a custom XSLT stylesheet, mixes exceptionally well with other functoids.
- The functoid takes one mandatory input parameter and one optional parameter:
- The first parameter specifies an absolute or relative XPath expression, which becomes a native part of the generated XSLT.
- The (optional) second parameter is a link to the source tree node that becomes the (looping) context for the XPath expression.
- This defines the current context node for the XPath expression and allows the use of relative XPath expressions.
- Additionally, the mapper will generate a looping construct for that linked node where appropriate.
- The functoid output can be linked to a destination schema node or serve as input to other functoids.
- The functoid takes one mandatory input parameter and one optional parameter:

BizTalk Mapper Extensions Utility Pack
BizTalk Mapper Extensions Utility Pack is a set of libraries that includes several useful functoids to include in a map, extending BizTalk Mapper’s capabilities.

Download
You can download the source code and application binaries from GitHub:
Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son.

1 thought on “BizTalk Mapper Extensions UtilityPack: XPath Functoids for BizTalk Server 2020”