xsl-list
[Top] [All Lists]

RE: passing parameters to templates

2003-06-16 14:41:28


That works but I cannot use it that way.  Is it possible to pass the
parameter using just <xsl:apply-templates/> not having to select a
specific template to pass the parameter to?

You have to declare the parameter in any template in which it is used.
Also as explaine don a different thread in this list earlier today, you
need to make sure that  any intermediate templates "pass on"
the parameter, ie declare it and explictly pass it on using with-param
in their apply-templates calls.

David


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



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