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)" />            
Web Languages and StandardsJavaXML

Avatar of undefined
Last Comment
Mick Barry

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mick Barry

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck