This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
passing parameters to an import file
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] passing parameters to an import file
- From: "Tanzila Mohammad" <tmohammad at entier-solutions dot com>
- Date: Mon, 10 Sep 2001 12:18:41 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
I have a xsl stylesheet (main.xsl) which imports another xsl stylesheet
(common.xsl).
Within main.xsl there is the following code:
<xsl:call-template name="noResults"/> <!--noResults is contained within the
common.xsl-->
However, common.xsl requires a parameter which is utilized by the noResults
template, is there a way to pass the parameter to the template from main.xsl
via the call?
Something like this:
<xsl:call-template name="noResults(<xsl:value-of select="$param"/>)"/>
Thanks
Tanzila
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list