When you use a custom xslt-path instead of using the BizTalk-mapper. It is possible to use C# en VB.net functions.
You add a namespace like this :
xmlns:MyCSCode=”http://schemas.microsoft.com/Biztalk/2003/MyCSCode“
And you put your code in below between script-tags. This is also the way it is done behind the scene when you use functiods in the biztalk mapper.
I want to know if it is possible to write XslExtensions, compile them to an assembly and then refer to it by xmlnamespace. This way it is possible to reuse xsl-functions in all of my xslts.
e.g.: <xsl:value-of select=”MyXslExt:CalculateTax(./amount,./percentage)”/>