|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
RE: <xsl:when test="position()%2=0">
Subject: RE: <xsl:when test="position()%2=0">
From: "Craig Kattner" <CKattner@xxxxxxxxxxxxxx>
Date: Mon, 21 Apr 2003 10:36:57 -0500
|
|
That should work, I use the
following regularly:
<xsl:if test="position() mod 2 =
1"> <xsl:attribute name="style">background-color:
#DDDDDD;</xsl:attribute> </xsl:if>
|
first of all i wish to thank all of you guys (and gals) for
providing me with great help. now i have another query
i would like to find the position of a node whether it is odd or
even, and tried to use position() mod 2, but i don't know how to do
it
can anyone tell me how to find the remainder of a division or else
any ideas on how to find whether a node is odd or even
10x, regards
luke |
____________________________________________________ http://www.incredimail.com/redir.asp?ad_id=309&lang=9
IncrediMail - Email has finally evolved - http://www.incredimail.com/redir.asp?ad_id=309&lang=9
|
|
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
| RSS 2.0 |
|
| Atom 0.3 |
|
|