Hello!
My q is how to call a java function from within an xslt file?
This is what i have been trying..
When calling a java function from an XSL file:
Code:
<xsl:stylesheet version="1.0"
xmlns:java="http://xml.apache.org/xslt/java"
xmlns:fn="http://www.my.com/xslt"
exclude-result-prefixes="java fn">
. . .
<xsl:variable name="embeddedpic"
select="formData/instance/EmployeePicture" />
<xsl:variable name="pic" select="fn:com.my.utils.ConversionUtils.base64DecodeString($embeddedpic)"/>
I am getting this exception in calling the above java function from my XSLT
Code:
Namespace 'xalan:com.mydomain.utils.ConversionUtils' does not contain any functions
Thanks