Subject: RE: [xsl] can a value of a parameter depends on a other value From: Roelof Wobben <rwobben@xxxxxxxxxxx> Date: Fri, 2 Dec 2011 12:02:42 +0000 |
Oke, And using expresions inline is using with_parameters ? I now trying to decide how I can make this script working in standard months. So months who have the same amount of articles every page. Now I have to make for every page a new line but I wonder if there is a better way. That's why I asked how I can calculate the offset but it seems that I have to use <xsl:value of select>. Back to testing. Roelof ---------------------------------------- > Date: Fri, 2 Dec 2011 11:58:14 +0000 > From: davidc@xxxxxxxxx > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] can a value of a parameter depends on a other value > > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] can a value of a paramete, David Carlisle | Thread | Re: [xsl] XPath equivalence questio, Hermann Stamm-Wilbra |
Re: [xsl] can a value of a paramete, David Carlisle | Date | [xsl] __LINE__ equivalent in XSTL, Bartolomeo Nicolotti |
Month |