can i create a xalan java extension function where the function name has dashes (-) in it ?

I'm using Xalan and I have a bunch of xslt documents that were
constructed to run with another processor that has alot of custom
extension functions. The names of these functions sometimes have
dashes in them:

e.g., a function might be called: do-something

ane might be used like this:

<xsl:value-of select="do-something(.)"/>

My problem is that as far as I can tell with the xalan extension
mechanism
one's java class functions must be identical to the name of the xslt
function you are providing the extension for... Thus I don't see how
could specify that the do-something xslt function is to be implemented
by a java class like this:

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!