Re: Paging using XSLT

Subject: Re: Paging using XSLT
From: Bharat.Chintapally@xxxxxxxxxxxxxxxxx
Date: Thu, 2 Nov 2000 17:17:46 -0400 (EST)
From: "Steve Muench" <Steve.Muench@xxxxxxxxxx>
Subject: Re: Paging using XSLT

| Wouldn't it be easier to simply paginate the
| XML before it gets to the translator? ie.
| throw windows of XML data at the translator
| and translate for each page?

>Indeed. I've been out to several customers who've tried
>to do this "paging" in one way or another with XSLT. The least
>efficient way I've observed is a customer who was
>querying 25,000 rows of database data into XML
>(using the Oracle XML SQL Utility) and then using
>top-level stylesheet parameters and <xsl:if> elements
>in their stylesheet to "filter" the data to emit
>only rows N through M of those 25000 onto the browser.
>(Where M-N is usually in the 10-15 range).

How did they do this? I am trying to do the same, but I do not have
so many records. I am already using a bunch of filters to reduce the
amount of data.

The "big" advantage I get by paging and sorting at the browser(/client) end
is that I do not have to hit the web_server/db_server again for the
same (sorted/paged) data.If I have to save some db hits, I may have to
cache the
data using sessions.

Well by using the browser I do not have to cache the data and I can
on the fly.

But it is pretty complex task to come up with such functionality.
Any pointers are really appreciated.

David M. Karr else suggested using JSP's, it is same as using the Servlets
and we don't
this logic to be at the server end because of the same problems I mentioned

-- bharat
Bharat Chintapally
CommerceQuest Inc.
New Phone # 813-639-6478

 XSL-List info and archive:

Current Thread