I have a xsl file where i need to use parameters from an external source. I am using Java and my code looks something like this:
TransformerFactory transform
rsp's answer was spot on. Thanks. Just want to add that you cannot pass a parameter to a variable in the same way (I am setting parameters via Java's TransformerFactory).
I made the mistake of thinking variables and params were interchangeable :)