|
Subject: Re: Visibility of parameters in templates From: heiko.grussbach@xxxxxxxx Date: Fri, 26 Nov 1999 17:12:22 +0100 |
Thanks, this works perfectly. I was a bit confused, since I used some of
the global parameters the same way in <xsl:with-param...> and that worked.
Of course, they were visible because they were global and not because I had
them in the with-param statement.
Anyway, thank you very much.
Regards
HEIKO
David Carlisle <davidc@xxxxxxxxx>@mulberrytech.com on 26-11-99 10:28:18
Please respond to xsl-list@xxxxxxxxxxxxxxxx
Sent by: owner-xsl-list@xxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxx
cc:
Subject: Re: Visibility of parameters in templates
> 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Visibility of parameters in tem, Tangi Vass | Thread | RE: Visibility of parameters in tem, Kay Michael |
| Re: problem with embedding objects , G. Ken Holman | Date | RE: modifiable variables, Bill Abbas |
| Month |