how to call external java function in xslt file?

后端 未结 3 742
一整个雨季
一整个雨季 2021-01-07 05:21

I have this xslt file that I need to call a java function placed somewhere else in the same application. In the xslt file I have



        
3条回答
  •  暖寄归人
    2021-01-07 06:19

    I had exactly the same problem and this solved it for me where urn:java: and java: both failed.

    Assuming you're using Xalan to do the transformation, you should change xmlns:test_my="vobs.plugins.WikiParser.WikiParser" to xmlns:test_my="xalan://vobs.plugins.WikiParser.WikiParser".

提交回复
热议问题