| the answer is yes and no.
no, not like you did it.
but there are several methods to do it.
1) saxon & xalan support external functions coded in other languages such as JS.
2) you can have your xsl result in an xhtml, where you can do the JS.
3) in firefox you can control when the xsl does the transform and on what! So, in ff you can insert the values and then do the transform. (but it doesn't work in all browsers) |