I need to generate a random number inside my xsl script that will be written into a form field. javascript document.write stuff doesnt work. any ideas?
Heres something to do too, try to make the function take an argument from a node value , and seed the random number Hint: you are passing a node to the function, and therefore have to treat it like a node, not an int!
This only works with MSXML, and you would have to find other ways of doing with other engines...
There are some good pre-made packages to do this sort of thing for other engines at
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.