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 >> xsl-list
xsl-list
RE: [xsl] Error xsl:param may not be used here
by Vasu Chakkera other posts by this author
Oct 14 2002 10:37AM messages near this date
RE: [xsl] Error xsl:param may not be used here | RE: [xsl] Error xsl:param may not be used here
Andrew Wrote:
Thats interesting - saxon 6.5.2 allows this (as stated msxml doesnt).

The specs says:

11.5 "As well as being allowed at the top-level, both xsl:variable and
xsl:param are also allowed in templates. xsl:variable is allowed
anywhere within a template that an instruction is allowed. In this case,
the binding is visible for all following siblings and their descendants.
Note that the binding is not visible for the xsl:variable element
itself. xsl:param is allowed as a child at the beginning of an
xsl:template element. In this context, the binding is visible for all
following siblings and their descendants. Note that the binding is not
visible for the xsl:param element itself."
----
Aren't we talking same??
> The problem is that your <xsl:param> is wrongly  placed.<xsl:param> is a 
> top level element ie, child of ><xsl:stylesheet> element --OR-- if it is in 
> a  template then it must >be the immediate child of the  <xsl:template> 
> element.
---
I did not negate the point that "As well as being allowed at the top-level, 
both xsl:variable and xsl:param are also allowed in templates." what I said 
was...if <xsl:param>  is used as a stylesheet parameter then it must be 
immediate child of <xsl:stylesheet>  element and if <xsl:param> is used as a 
template parameter then it must be immediate child of <xsl:template>  
element..


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

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