[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] algorithm for alternation [faked-from]


Subject: RE: [xsl] algorithm for alternation [faked-from]
From: Mischa Sandberg <msandberg@xxxxxxxxxxxx>
Date: Wed, 20 Aug 2003 09:40:17 -0700

<xsl:choose>
<xsl:when test=".[position() mod 2 = 1">
...
<xsl:otherwise>
...

-----Original Message-----
From: Eric Smith [mailto:es@xxxxxxxxxxxx]
Sent: Wednesday, August 20, 2003 3:57 AM
To: XSL List
Subject: [xsl] algorithm for alternation [faked-from]


Would some generous person please suggest a algorithm to 
lazy me for alternation in xsl.  I want to do different
things to every alternate node.  So first node has 
attributes A, second node attributes B, third node
attributes A ... n.

Thanks a lot!


-- 
Eric Smith

 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
Keywords
xsl