[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: can a value of a parameter depends on a other valu
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: 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. > ________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|