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

Accessing nth element

Subject: Accessing nth element
From: Bharat.Chintapally@xxxxxxxxxxxxxxxxx
Date: Tue, 1 May 2001 09:04:05 -0400
nth element
Hello all:
     I think I need to replace for-each in my XSLT's with recursion. I am
interested in picking 'x' elements from 'y' (20 for each page from 500
records) for paging. for-each is working fine, but it is overkill, I should
be able to terminate (return from as in procedural lang's) processing when
I finish processing 20 records for a given page.
     I am trying to switch to recursion, but have a quick question. Is
there a way to fetch an n'th element from given bunch of records. For
example when I am processing records 20 thru records 40 out of 500 records,
I would like directly fetch the record #20 from all the records. Is it
possible..

Am I doing right?? Any suggestions are welcome.

Thanks
--bharat


 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.