ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: XSLT question (passing parameters)
by A. Pagaltzis other posts by this author
Nov 20 2005 1:23PM messages near this date
view in the new Beta List Site
Re: XSLT question (passing parameters) | Re: XSLT question (passing parameters)
& XSLT * Lars Haugseth <lars.haugseth@[...].no>  [2005-11-20 21:45]:
>  <xsl:param> is only for getting parameters in a template called
>  with <xsl:with-param> arguments.

Wrong. Quoth <http://www.w3.org/TR/xslt#top-level-variables> :

    ## 11.4 Top-level Variables and Parameters ##
    
    Both xsl:variable and xsl:param are allowed as top-level
    elements. A top-level variable-binding element declares a
    global variable that is visible everywhere. A top-level
    xsl:param element declares a parameter to the stylesheet;
    XSLT does not define the mechanism by which parameters are
    passed to the stylesheet.

Regards,
-- 
#Aristotle
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just-> another->Perl->hacker;
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
David Craig
Lars Haugseth
A. Pagaltzis
Stephane Roux
A. Pagaltzis

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved