[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

Subject: RE: 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
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.
> ________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.