As long as we're on the topic of XALAN extension functions, I too am looking
for some help. I've got an existing XALAN-J based system (I didn't create it)
that I'm trying to add on to. I want to create a simple extension function in
JAVA. The XALAN-J documentation says stuff written in JAVA doesn't require BSF.
So - I went to work on one of the XSLs: added a simple namespace and defined a
component as in the example at
http://xml.apache.org/xalan-j/extensions.html#ex-java I wrote and compiled an
extension function; currently just of the "Hello, world" sort. So far, so good.
Problem arises when I try and use the extension function in something like
<xsl:value-of select="mytest:hello()"/> XALAN throws a "can't find the class"
exception no matter where I put the .class file.
Those folks out there with some experience implementing JAVA extensions - I'd
be grateful for some help figuring this out. I'm sure it's something very
simple, but I don't know where to look next.
*********************************
John F. Wade, PE
MSFC iPV Integration Lead