How to call a dot net asssembly / namespace in XSL

2019-07-18 06:31发布

I am writing dot net code within my XSLT. It gives me below error when I call any namespace OR write "using" directive within XSLT.

Error- "Could not recognize 'com.myassembly' "

Is it possible to use any assembly within xslt?

标签: .net xslt
3条回答
手持菜刀,她持情操
2楼-- · 2019-07-18 07:08

It is possible, and you need to use extension objects - you will have to pass these in to the xslt processor before you can use them in the xsl file.

See the examples here.

查看更多
登录 后发表回答