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

Re: Hot to get n records per page-sequence

Subject: Re: Hot to get n records per page-sequence
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 19 Dec 2002 17:31:18 -0700 (MST)
xsl sibling records per page
Prateek Gupta wrote:
> I am able to get 1 record per page sequence using the following XSL code. I
> have been told that I can use mod and position() functions but I am unable
> to apply those in my XSL. Can someone please tell what how I can get 3
> records per page?

See the FAQ at http://www.dpawson.co.uk/
(browse to XSL FAQ > XSLT Questions and Answers)
There are various answers in the section on Tables, and probably
elsewhere.

In general you select for processing the 1st, 4th, 7th... nodes
and then have the template for each of those generate a page and
format the data for the current node and its next two following
siblings.

Mike

-- 
  Mike J. Brown   |  http://skew.org/~mike/resume/
  Denver, CO, USA |  http://skew.org/xml/

 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.