OK - well I finally got the package name set, the correct classname and
everything.  Now when I attempt to compile this it gets to my exension
method call and I get this RuntimeException:

java.lang.RuntimeException: External function
'xalan://com.company.util.ExtUtils:getAuthIDRequest' not supported by
XSLTC.

Are external functions supported at all?  Maybe only certain ones?  Here is
an example of the call from the XSL stylesheet...

...snip...
<xsl:stylesheet
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
   version="1.0"
   xmlns:util="xalan://com.company.util.ExtUtils"
   xmlns:xalan="http://xml.apache.org/xslt";
   exclude-result-prefixes="util"
>
...snip...
<AUTHID><xsl:value-of select="util:getAuthIDRequest()"/></AUTHID>
...snip...

Then I've got a method in the ExtUtils class similar to this ...

...snip...
public static String getAuthIDRequest() {
    return("Something");
}
...snip...

I'm SO close - if I can just get this to work!

Thanks,

- Brent


Reply via email to