You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Bennett <be...@glengroup.com> on 2003/10/20 17:56:03 UTC

Apply template question

Is there a way to apply a template stored in a variable or param?


Re: Apply template question

Posted by Joseph Kesselman <ke...@us.ibm.com>.



>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