Implementing extension methods to XSLT in .Net

Most XSLT processors contain methods to call custom methods (known as extension methods) written in your favourite programming language similar to macros or robotic process automation that people use on their work to make the process easier. Java XSLT processors allow you to write them in Java, and the old MSXML processor allowed you to write the in VBScript or Javascript.

The new .Net Framework classes XslTransform (or more recently XslCompiledTransform) allows you to write them in any .Net language.

But how do you implement these? Well there are two methods you can choose from, read more below the break:

Continue reading “Implementing extension methods to XSLT in .Net”