|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Visibility of parameters in templates
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








