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
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:java="java"
xmlns:test_my="vobs.plugins.WikiParser.WikiParser"
version="2.0">
<xsl:output indent="yes" method="html"/>
<xsl:template match="/">
<H1>
<xsl:value-of select="WikiDescription/Title"/>
</H1>
Summary: <xsl:value-of select="WikiDescription/Description"/>
<xsl:variable name="text">
<xsl:value-of select="WikiDescription/Text"/>
</xsl:variable>
<p>
<xsl:value-of select="test_my:parse2($text)"
disable-output-escaping="yes"/>
</p>
but when I try to excute this xlst file I got the following error
XSL transform reported error:
XPath syntax error at char 21 on line -1 in {test_my:parse2($text)}:
Cannot find a matching 1-argument function named
{vobs.plugins.WikiParser.WikiParser}parse2()
it seems like that it couldn't find the java class, so what's the right way to do this? some code example will be even better. Thanks in advance!