xsl-list
[Top] [All Lists]

Re: passing parameters to templates

2003-06-16 14:38:25
Tim Bachta wrote:

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?

It is possible, because <xsl:apply-templates/> is just a
short for <xsl:apply-templates select="node()"/>
You still have to ensure that either BeginEndDate is
matched (i.e. a child of the context element at the
point where you apply the templates), or pass the parameter
through any intermediately called templates explicitely.

J.Pietschmann



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



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