[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: algorithm for alternation [faked-from]
<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: 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
|
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
|