Subject: Re: Visibility of parameters in templates
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 26 Nov 1999 09:28:18 GMT
|
> Now, inside the Slide template, I can access $right, but not $extension.
This would pass parameter with name $extension and value an empty
list
<xsl:with-param name="$extension"/>
^
I would guess that you want to pass a parameter with name extension
and value the value of your extension variable, which is
<xsl:with-param name="extension" select="$extension"/>
^ ^
or simpler, not bother with declaring the extension variable at all and
just have the parameter
<xsl:with-param name="extension" select="'.html'"/>
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|