xsl-list
[Top] [All Lists]

10 records per page

2003-02-03 02:58:50

Hello,

I have common question. The question is how to show 10 records at a time and
also show navigation links i.e page1 page2 which  will show the other
records. I have checked the example at
http://www.dpawson.co.uk/xsl/sect2/sect21.html but can't see how it make it
work in mine. I am very new to xsl!

This is mine: (It shows the first 10 records)!

          <xsl:for-each select="feedbackDetailsTag[position() mod 10 = 1]">
                                                        <tr>

                                                                <td width="11%" 
height="18" bgcolor="#FFFFFF" class="bold">
                                                                        <p>
                                                                                
<a>
                                                                                
        <xsl:attribute name="href">
                                                                                
                <xsl:value-of
select="$Portal.Servlet.Normal"/>GI_ID=<xsl:value-of
select="../../../@id"/>&amp;read_feedback=true&amp;feedback_id=<xsl:value-of
select="feedbackIdTag"/></xsl:attribute>
                                                                                
        <xsl:value-of select="userNameTag"/>
                                                                                
</a>
                                                                        </p>
                                                                </td>
                                                                <td colspan="3" 
bgcolor="#FFFFFF">
                                                                        <p>
                                                                                
<xsl:value-of select="feedbackDateTag"/>
                                                                        </p>
                                                                </td>
                                                                <td width="29%" 
bgcolor="#FFFFFF">
                                                                        <p>
                                                                                
<xsl:value-of select="messageCategoryTag"/>
                                                                        </p>
                                                                </td>
                                                                <td width="34%" 
bgcolor="#FFFFFF">
                                                                        <p>
                                                                                
<xsl:value-of select="requireFeedbackTag"/>
                                                                        </p>
                                                                </td>
                                                        </tr>


                                                </xsl:for-each>

Thanks

Mandeep


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



<Prev in Thread] Current Thread [Next in Thread>