XSLT Support for Calling .Net Function

.Net Support only xslt 1.0

I’ve just found out that We can call .net function inside XSLT, Example.

using msxsl:script tag

You can Make a C# function and use on your template

ain’t it cool? But read more that It’s Evil and Here:

“The problem is that when XSLT stylesheet is loaded in .NET, msxsl:script is compiled into an assembly via CodeDOM and then loaded into memory, into the current application domain. Each time the stylesheet is loaded above process is repeated - new assembly is being generated and loaded into the application domain. But it's impossible to unload an assembly from application domain in .NET!”

Share this post: | | | |
Published Thursday, November 26, 2009 5:58 PM by cipto

Comments

No Comments