Extending XSLT Style Sheets
.NET Framework 4
This section describes the different methods of extending the XSLT functionality. You can add extension objects or parameters using the XsltArgumentList class. The extension objects or parameters can then be called from the style sheet. In addition, you can also embed script blocks into the style sheet by using the msxsl:script element.