RE: Pagination

Subject: RE: Pagination
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 1 Dec 2000 11:41:13 -0000
> How to do pagination using XSL. ?
> 
> I have many records which can go upto 500. I need to display 
> 20 records on one page . By clicking NEXT butoon it should 
> show me next 20 records and so on.

Write a template that uses match="item[position() mod 20 = 1]", and within
this template, do for-each select = ". | following-sibling::item[position()
< 20]".

Mike Kay 


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


Current Thread
  • RE: Pagination
    • Kay Michael - Fri, 1 Dec 2000 11:41:13 -0000 <=
      • <Possible follow-ups>
      • hemant18 - 1 Dec 2000 11:29:06 -0800
      • Kay Michael - Mon, 4 Dec 2000 10:53:10 -0000