xsl-list
[Top] [All Lists]

RE: Accessing Global Parameters from an included Stylesheet

2004-01-19 15:14:03


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