Subject: RE: passing parameters to templates
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 16 Jun 2003 22:41:28 +0100
|
> 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
|