>Is there a way to apply a template stored in a variable or param?
No. Best you can do is have a bunch of templates and set up call-template
logic that switches between them based on the value of a variable or param.
Or you could try styling your stylesheet before applying it.
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk