xsl-list
[Top] [All Lists]

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

2011-12-01 13:59:52
On 01/12/2011 18:00, Roelof Wobben wrote:
One question. If I have two variables which depends on the same condition but 
will have other values do I have to write three seperate variable blocks ?

yes, basically

or of course you refactor things to only pass in a boolean value with the value of the condition and then you just test that boolean twice within the template rather than passing in two parameters.

David

--
google plus: https:/profiles.google.com/d.p.carlisle

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