Subject: RE: [xsl] can a value of a parameter depends on a other value From: Roelof Wobben <rwobben@xxxxxxxxxxx> Date: Wed, 30 Nov 2011 11:52:46 +0000 |
I need a parameter or a variable which depends on the two values because with the value of the variable I can decide how many articles are placed on a page. I want to convert this site (http://www.tamarawobben.nl) a xml/xslt site. As you can see here (http://www.tamarawobben.nl/?c=1e-levensjaar&month=2005-09) a month can have big articles and later on see here (http://www.tamarawobben.nl/?month=2005-09&pg=15 ) some little articles. And I want to have each page about the same amount of text. Also there are months like this one (http://www.tamarawobben.nl/?c=zwanger&month=2005-06_) with a few small articles. Roelof ---------------------------------------- > Date: Wed, 30 Nov 2011 11:45:49 +0000 > From: davidc@xxxxxxxxx > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] can a value of a parameter depends on a other value > > On 30/11/2011 11:41, Roelof Wobben wrote: > > What im trying is to declare a variable/parameter which value depends on the month and page parameter. > > declaring a variable is done with xsl:variable so probably you want > <xsl:variable name="xxx"> > <xsl:choose> > ...... > > But really you haven't given much indication of your problem. Why do you > need a variable at all? > > 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] can a value of a paramete, Susanne Wunsch |
Re: [xsl] can a value of a paramete, David Carlisle | Date | Re: [xsl] can a value of a paramete, Susanne Wunsch |
Month |