Re: Paging using XSLT

Subject: Re: Paging using XSLT
From: Michael Bierenfeld <michael.bierenfeld@xxxxxxxxxxxx>
Date: Fri, 3 Nov 2000 13:26:07 -0400 (EST)
"Xu, Xiaocun" wrote:
> Hi,
>         The solution suggested here seems to be solution to my problem
> "Display multiple pages": I have a XML document that could have over 1,000
> database records, and I would like to split them up to multiple pages for
> display purposes, with Prev and Next button to advance between the pages.
>         The solution you suggested is two-steps: incoming XML already
> separated by pages, XSLT translates them one by one.  I was hoping to do all
> these in XSLT so that parameters such as maxLinesPerPage can be controlled
> within the XSLT.  With the two step process, such customization needs to be
> done in the XML generation process which is not as flexible.  Is there no
> way to do something like this all within XSLT?
> Thanks,
> Xiaocun Xu
> xxu@xxxxxxxxxxxxxxxxxx

We had a similar Problem. DataBaseRecords >
20.000. We tried bits an pieces with XSLT. Didnt
work out. IMHO the only reasonable solution is to
do the paging in the Database.

We use JDBC to acces the DB. Some Databases do
support forward, backward and stepping inside
cursors but some dont. So this is tricky in any



 XSL-List info and archive:

Current Thread