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

RE: using xsl and javascript to create dhtml

Subject: RE: using xsl and javascript to create dhtml
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 19 Mar 2004 23:44:45 -0000
dhtml pagination
The logic for splitting a list of 100 items into pages of 20 is exactly the
same as arranging it in a table with 20 rows. It's basically

for-each select="item[position() mod 20 = 1]"
  <page>
    for-each select=".|following-sibling::item[position() &lt; 20]

Michael Kay 

# -----Original Message-----
# From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
# [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
# rj_peterson@xxxxxxxxxxxxx
# Sent: 19 March 2004 22:04
# To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
# Subject:  using xsl and javascript to create dhtml
# 
# 
# 
# 
# 
# I am transforming xml into an html page that has a list of 
# about 100 items.
# I want to put in some kind of pagination where the first 20 
# are displayed with links on the bottom to go to the next 20 
# etc.  Is there a relatively easy way to accomplish this with 
# xsl?  I have considered using some sort of javascript and div 
# tags to rewrite the div section as needed.  Any thoughts or 
# examples on this?
# 
# Thanks
# 
# 
#  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.