xsl-list
[Top] [All Lists]

RE: [xsl] can a value of a parameter depends on a other value

2011-11-29 12:43:22

Oke, 

 

So I must make two different <xsl:with param>

One for defening articlesperpage and one for totalpages.

 

Roelof



----------------------------------------
Date: Tue, 29 Nov 2011 19:22:15 +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:
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>

No, nesting xsl:with-param does not make sense.

--

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>
--~--

<Prev in Thread] Current Thread [Next in Thread>