well i tried this<tr><xsl:for-each select="homepage/QuickSearch/category"> <xsl:choose><xsl:when test="position() < 5"><td class='normal'><li/><u><xsl:value-of select="name"/></u></td></xsl:when></xsl:choose></xsl:for-each></tr>it is showing first five 5 records,now i want that in<otherwise></otherwise>, i want to again change the value of position() to 1 and close </tr> and open a new <tr>, i tried many times but its not workingDo u have any idea how it will work