xsl-list
[Top] [All Lists]

Re: Apply Templates question

2003-10-20 13:46:19

"Bennett" <bennett(_at_)glengroup(_dot_)com> wrote in message
news:D8AF5F7C-0324-11D8-821B-000393595642(_at_)glengroup(_dot_)com(_dot_)(_dot_)(_dot_)
Hello,

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

A template cannot be "stored in a variable".

What you want to accomplish is to pass a template as a parameter to another
template.

One way to accomplish this is implemented is used as the base for the FXSL
library -- see [1] and [2], and also the other articles on the home page of
FXSL.


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

[1] "The Functional Programming Language XSLT",
http://fxsl.sourceforge.net/articles/FuncProg/Functional%20Programming.html

[2] "Dynamic Functions using FXSL: Composition, Partial Applications and
Lambda Expressions",
http://fxsl.sourceforge.net/articles/PartialApps/Partial%20Applications.html




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>