[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: how do you redefine a variable[off topic]

Subject: RE: how do you redefine a variable[off topic]
From: "Tim Watts" <timw@xxxxxxx>
Date: Wed, 28 Feb 2001 15:26:48 +1100
xslt variable redefine
Mike,

I noted your answer to Daniel about testing the value of position() mod 2
for alternating the colors in table rows.

What is the "mod 2" that you are refering to?

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay
Sent: Wednesday, 28 February 2001 2:12 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  how do you redefine a variable


Daniel, can I suggest you do some reading? I know there's a steep learning
curve for XSLT, but there are plenty of tutorials, books, FAQs etc on which
you will find answers to this common question. Sending four messages a day
to a busy list is an inefficient way of organizing your learning.

To find out whether position() is odd or even, test the value of position()
mod 2.

Mike Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Daniel Newman
> Sent: 27 February 2001 16:30
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  how do you redefine a variable
>
>
> I'm trying to colour my table rows, either one colour or another.
>
<snip>
> Daniel.
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.