Hi which transformer are you using? If you are using xalan, then it has got xalan extensions using which you can call java functions within xsl. If you are using Saxon, it also has got extensions in it.
Look at samples that come along with these transformers Hope it helps..
SCJP 1.4, SCDJWS , SCJA<br />I can do ALL things through CHRIST who strengthens me.