[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL to handle display mutliple pages

Subject: RE: XSL to handle display mutliple pages
From: "Xu, Xiaocun" <XXu@xxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Nov 2000 13:22:45 -0400 (EST)
paging xsl page
Great :)  Thanks for the tip :)  
I learnt about your book from the conversations on the list.  I just ordered
it this morning, and looking forward to see it tomorrow PM.  Page 608 will
definitely be the first page I read. :)

Yeah, I won't have an overwhelming number of records to deal with.  
Besides reduce roundtrips to the server, I want to keep the presentation
layer flexible.  With maxLinesPerPage kept in XSLT, page layout can be
controlled without have to modify the XML generation code.

Thanks,
Xiaocun

-----Original Message-----
From: Kay Michael
To: 'xsl-list@xxxxxxxxxxxxxxxx'
Sent: 11/2/00 4:21 PM
Subject: RE: XSL to handle display mutliple 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.

If you've been following other threads you'll have seen the advice that
if
you're getting the data from the database it's best to generate one XML
document for each displayed page of data.

However, at the level of 1000 records, handling a single document is
quite
feasible and despite what others have said, if you're doing the
processing
in the client I think it's quite a reasonable option, because it reduces
the
number of hits on the server. You'll find an example using this sort of
architecture on page 608 of my book*: it's not doing paging in the way
you
describe, but a similar kind of interactive navigation within a dataset.

Mike Kay
* XSLT Programmer's Reference published by Wrox Press, ISBN 1
861003-12-9




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




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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.