DataPower does provide many languages for you to do what is needed:
- XSLT (XPath 1.0)
- XQuery/JSONiq (XPath 2.0)
Since ages extensions were available to mix languages like "dp:schema-validate()" ["dp:transform()"].
With 22.214.171.124 three new extensions became available for you to mix (if you want).
Here is what you can do (you can edit the graph if you want) as SVG, with links that point to Knowledge Center: