xsl-list
[Top] [All Lists]

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

2011-12-02 05:58:30
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. 
________________________________________________________________________

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