Subject: RE: [xsl] using xsl and javascript to create dhtml From: "Michael Kay" <mhk@xxxxxxxxx> Date: Fri, 19 Mar 2004 23:44:45 -0000 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] using xsl and javascript , Wendell Piez | Thread | [xsl] managing parameters to styles, Dan Vint |
Re: [xsl] using xsl and javascript , Wendell Piez | Date | [xsl] managing parameters to styles, Dan Vint |
Month |