[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Visibility of parameters in templates

Subject: Re: Visibility of parameters in templates
From: heiko.grussbach@xxxxxxxx
Date: Fri, 26 Nov 1999 17:12:22 +0100
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.