|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: using xsl and javascript to create dhtml
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() < 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








