Link to home
Create AccountLog in
Avatar of david_sl
david_sl

asked on

Calling Java method from XSL

I am using the following code in XSL to call Java method

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:java_func="com.common.utils.SUtils"
    extension-element-prefixes="java_func" version="2.0">

....

 <td width="20%">
                    <xsl:value-of select="java_func:getValFromBundle($fb_id_label)" />            
</td>
               
this works fine.
Now I need to call another method which is in a different class. Please let me know how can I specify two classes and two prefixes in the XSL.
The resultant call will be something like this
                    <xsl:value-of select="java_func_1:my_new_method(param)" />            
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer