This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Limiting a FOR-EACH loop
- From: "Gurnam Bedi" <Gurnam dot Bedi at teachscape dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 18 Sep 2002 12:04:27 -0400
- Subject: [xsl] Limiting a FOR-EACH loop
- Reply-to: xsl-list at lists dot mulberrytech dot com
How do I ensure that a FOR-EACH loop only iterates over the first x number
of elements. Or more generally, how can I read the values of first x number
of elements in a certain node [ex: /SEARCH/RESULTS] and ignore the rest of
the elements in the /SEARCH/RESULTS (where x itself is the value-of another
element)?
Thanks
-G
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list