Oke,
But as I understand you rigth, this can work
<xsl:with-param name="articlesperpage">
<xsl:with-param name="totalpages">
<xsl:choose>
<xsl:when test=" $value eq 2005-02 and $page eq 1>2 1</xsl:when>
</xsl:choose>
</xsl:with-param>
</xsl:with-param>
Roelof
----------------------------------------
Date: Tue, 29 Nov 2011 18:43:20 +0100
From: Martin(_dot_)Honnen(_at_)gmx(_dot_)de
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] can a value of a parameter depends on a other value
Roelof Wobben wrote:
Still one question.
Image that I also need a parameter called totalpages.
How does it work then.
Well the syntax of passing in a parameter does not change if you want to
pass in a second parameter, you just use a second xsl:with-param inside
your xsl:call-template or xsl:apply-templates.
--
Martin Honnen --- MVP Data Platform Development
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--