Re: [xsl] RE: was "", Probable FAQ

Subject: Re: [xsl] RE: was "", Probable FAQ
From: "Kevin Nardi" <kevnardi@xxxxxxxxxxx>
Date: Thu, 12 Jul 2001 15:37:23 -0700
You have it inside-out. Do this instead:

<xsl:variable name="rowstyle">
  <xsl:choose>
    <xsl:when test="position() mod 2 = 0">
        myItems1
    </xsl:when>
    <xsl:otherwise>
        myItems2
    </xsl:otherwise>
  </xsl:choose>
</xsl:variable>

PC2

Boy I feel stupid.


Thanks much.

-Kevin
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


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



Current Thread