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

Subject: Re: [xsl] can a value of a parameter depends on a other value
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 02 Dec 2011 11:58:14 +0000
On 02/12/2011 11:34, Roelof Wobben wrote:
> 
> I made a quick draft of the idea I have to solve my problem and you
> can see I need all those variables



Well, you've got rid of all the parameter passing, which is the main
simplification that I mentioned. As for the variables, as I said
earlier, it's mainly a matter if taste. There are rather few occasions
when using a side effect free programming style that you _need_
variables. If you only use them a few times, it's often just as simple
to use the expressions inline, but if you find that it simplifies things
for you then it's OK to use them of course.

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread