[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Accessing Global Parameters from an included Stylesheet


Subject: RE: [xsl] Accessing Global Parameters from an included Stylesheet
From: "Todd Baker" <lists@xxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jan 2004 09:14:03 +1100

> 
> In the above code, the xsl:param has to be provided inside 
> call-template element. like following.
> 
> <xsl:call-template name="LatestNews">
>  <xsl:param name="id"></xsl:param>
>  <xsl:param name="query_news"></xsl:param>  <xsl:param 
> name="stateFolder">new_south_wales</xsl:param>
>  <xsl:param name="statePagesFolder">nsw_pages</xsl:param>
>  <xsl:param name="stateLibraryFolder">nsw_library</xsl:param>
> </xsl:call-template> 


Maybe you do, I was under the impression that global paramteres could be
accessed by all templates within that stylesheet and included templates.
Looks like I was wrong, Thanks.

Todd



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



Current Thread